Web-based Git Repository Browsing (GitWeb)
GitWeb supports common actions such as:
- Reviewing recent changes in the repository.
- Viewing the contents of a checked-in file (including raw or syntax-highlighted outputs).
- Viewing the differences between two revisions of a file.
- Easily accessing tagged versions of file content.
Several per-repository configuration options are available to you to change the information displayed on the landing page for a git repository.
- Create a "description" file in your git repository root, with a brief, one-line description of your repository. This file is treated as plain text, any HTML will be escaped. This will appear in the top section of the gitweb repository landing page.
- Create a "cloneurl" file in your git repository root, containing one url per line. Use this to display the clone url for your repository. This will appear in the same section as the description line, one url per line.
- Create a "README.html" file in your git repository root, with arbitrary descriptive content. HTML is allowed, and will be displayed inside a div tag on the gitweb page, in a section below the one with description.
- Set the owner, by setting a gitweb.owner configuration variable in the "config" file, located in your git repository root. If the "gitweb" section does not exist, create it. The owner setting in the config should look like the sample below (you can use any arbitrary string for owner):
[gitweb] owner = Your Name <youremail>
To access GitWeb:
- Access the Project Summary page for the desired project.
- Click on the "Git Browse" link under the Code dropdown menu.
The link will be to the PROJECT's http://PROJECT.git.sourceforge.net/ page.