This page contains description of the fields and options available when setting up VCS roots using the Git Version Control System. The VCS is visible as "Git (JetBrains)" in VCS chooser to eliminate confusion with third-party plugin if third-party plugin is installed and as "Git" otherwise.
The following protocols are supported for the server-side checkout mode:
Please note that agent-side checkout has limited support for SSH. The only supported authentication method is "Default Private Key".
Path to git executable can be configured in the agent properties by setting the value of an environment variable TEAMCITY_GIT_PATH.
If path to git is not configured, git-plugin tries to detect installed git on the start of the agent. It first tries to run git at following locations:
If git wasn't found at any of these locations, try to run git accessible from the $PATH.
If compatible git (1.6.4+) is found - it is reported in the TEAMCITY_GIT_PATH environment variable. This variable can be used in Path to git field in VCS root settings. As a result, configuration with such a VCS root will run only on agents where git was detected or specified in agent properties.
For Git VCS it is possible to configure the following internal properties:
Agent configuration for Git:
Git support is implemented as an open-source plugin. For development links refer to the plugin's page.
Skip to end of metadata Go to start of metadata