Using Git with Codebeamer
Git is a free & open source, distributed version control system. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. It is easy to perform branching and merging tasks using Git.
Installing Codebeamer with Git
Install Git using the following steps:
On Linux, you can use the package manager to install Git. The package name for Ubuntu and RedHat is git-all (or git depending on the distribution version).
On Windows, (since 6.0.3) Git is shipped with Codebeamer and can be used with Smart-Http out of box.
Install and start Codebeamer using the steps provided in the following topics:
Start Codebeamer
After installing Git and Codebeamer , configure access to the Git repositories. See URLs of Managed Git Repositories for details.
URLs of Managed Git Repositories
There are three ways to access a local managed repository from remote clients:
1. Smart HTTP access (read-write).
2. SSH access (read-write).
3. Git daemon read-only access (without permission check).
Smart HTTP
This URL that can be used for push and pull operations. For example:
http://akostajti@localhost:8080/cb/git/myrepositoryname
All type of URLs can include a password. For example:
http://akostajti:secret@localhost:8080/cb/git/myrepositoryname
If you specify your password in the URL you do not have to always type it in the command line. Since Codebeamer 6.0.3 passwords can be provided also in MD5 format instead of plain-text.
SSH Access
The OpenSSH server and Codebeamer must be installed on the same machine. For a compatible version of OpenSSH on the Linux system, refer the official site. When the OpenSSH package is installed and configured (automatic configuration is enough), restartCodebeamer. Project members must upload their keys according to Setting Up SSH Authentication for Git and Mercurial.
Public Access with git Daemon
The Git core package allows unauthenticated read-only access to a repository. Codebeamer controls the daemon start/stop. This is available by default in the Codebeamer server on Linux platforms. The port of this service is 9418 (Git default) which can be configured in scc section under Application Configuration:
"scc": {
"git": {
"daemon": {
"start": "true",
"port": "9418"
}
}
}
For example:
git://localhost:9418/myrepositoryname
Was this helpful?