Version Control Integrations > Git Integration

Top |Previous |Next

Git Server Integration

The Collaborator server can be configured to communicate directly with a Git repository. This allows users to review commits completely from the browser, without having to install any client programs. To enable this feature, first install and configure a Git client on the Collaborator server and then create an entry for your Git repository in the Version Control tab of the administration interface. Version control server entries are also created automatically if one of the client programs uploads files from a repository that does not match any of the currently configured servers.

Git Version Control Server

Title

The title is displayed to users, so it should be something that everyone will understand, even if they are going through proxies, VPNs, or other such things. When a version control server entry is created automatically, this is filled in with "Git".

Attach changelists from browser

If enabled, this feature lets users select commits to review directly from the web browser, without having to install any client programs.

Git Executable

Full path to the 'git' command line client

Git Repository

Full path to a Git repository. This is only necessary if you enable "Attach changelists from browser". The repository can be "bare".

Click the Test Connection to make sure Collaborator can contact your Git repository.

Client Configuration Mapping

You can supply Java-style regular expressions to map changelists from this Git repository uploaded from our client tools. It is important to set up these regular expressions so that files uploaded by the various Collaborator client tools are correctly associated with this server-side Git configuration.

git-server-mapping

Repository Host Pattern

Match on the client's configured remote origin URL (remote.origin.url). Note clients may have various network configurations that make the URL look different.

First Commit Hash Pattern

Match on the first commit hash returned from running "git rev-list --max-parents=0 HEAD".


© 2003-2025 SmartBear Software. All rights reserved.