Secure Agent Services > GitRepoConnectApp > Local repository base directory
  

Local repository base directory

If your source control repository is on-premises, the Secure Agent creates a local copy of the repository branch that stores Informatica Intelligent Cloud Services assets. You can configure the local repository location on the Secure Agent machine.
By default, the Secure Agent creates the local repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/<base directory>/<client URL>/<organization ID>/<branch>/<remote repository name>
In this file path, the base directory is controlled by the git_local_repository_path property of the GitRepoConnectApp service.
By default, git_local_repository_path is set to ../data/git_repository/. Therefore, the Secure Agent creates the local Git repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/data/git_repository/<client URL>/<organization ID>/<branch>/<remote repository name>
You can change the base directory by editing the git_local_repository_path property. For example, if you set this property to ../MYREPO/PROD, the Secure Agent creates the local Git repository in the following directory:
<Secure Agent installation directory>/apps/GitRepoConnectApp/MYREPO/PROD/<client URL>/<organization ID>/<branch>/<remote repository name>
To specify a base directory that contains a backslash character (\), escape it with another backslash character.
Use the following guidelines when you set the git_local_repository_path property: