Instrumenting a Git Repository
We assume that the repository already exists and is accessible. The templates of the Git hook scripts can be found under git/<operating_system> directory in scmloop.zip (where <operating_system> is either windows or unix).
1. Copy the files from git/<operating_system> to the hooks folder of the git repository.
2. Edit the scripts: replace the string ${scmloop}}} with the actual path of the scmloop script.
3. On Linux/Unix systems it must be ensured (for example. using command chmod) that the scripts are executable.
4. Create a file called codebeamer.properties under the .git directory of your repository or under the top directory in case of bare repository and add the following line to it: repositoryId= where repositoryId is the id of the Codebeamer repository that you want to associate the repository with.
Was this helpful?