Fields Used to Configure a Git SCM Instance

The following settings are used to configure a Git SCM instance.

Setting Used to Configure a Git SCM Instance

Git SCM Instance Setting

Description

Git Repository URL

Provide the repository URL in either format:

http(s)://<host.xz>/<path>/to/repo.git 
<user>@<host>:<path>/repo.git 

The contents of the repository will be cloned to the following directory on the Scan Server, based on the specified branch, tag, or commit ID:

<scanroot>/<projectID>/<instanceID>

Git Username

Provide the user name for Authenticated access to the repository.

Leave this field blank for “anonymous” or SSH access (the system automatically looks for an SSH keypair on the server). See the Code Insight Installation and Configuration Guide for instructions on configuring Git over SSH.

Git Password

Enter the password associated with the user name provided.

Git Branch, Git Tag, or Git Commit ID

Specify either the Git branch, tag, or commit ID to identify the source code version to which to synchronize.

Alternatively, leave these fields blank to synchronize to the mainline branch.