copyright | lastupdated | ||
---|---|---|---|
|
2017-6-8 |
{:shortdesc: .shortdesc} {:new_window: target="_blank"} {:screen:.screen} {:codeblock:.codeblock}
{: #git_working}
Collaborate with your team and manage your source code with a Git repository (repo) and issue tracker that is hosted by IBM and built on GitLab Community Edition {:new_window}. {: shortdesc}
The {{site.data.keyword.gitrepos}} tool integration supports teams to manage code and collaborate in many ways:
- Manage Git repositories through fine-grained access controls that keep code secure
- Review code and enhance collaboration through merge requests
- Track issues and share ideas through the issue tracker
- Document projects on the wiki system
Note: Because this tool integration is built on GitLab Community Edition and hosted by IBM on Bluemix, a few GitLab options are not available. For example, Delivery Pipeline provides continuous integration and continuous delivery for Bluemix; therefore, the continuous integration features in GitLab are not supported. In addition, the admin functions are not available because they are managed by IBM.
{: #git_local}
You can locally access the Git repos that are stored in {{site.data.keyword.gitrepos}}. For instructions to set up Git locally, see Start using Git on the command line {:new_window}.
Tip: {{site.data.keyword.gitrepos}} supports HTTPS connections only that use TLS1.2. If you use Eclipse to connect, you might be required to specify this protocol for your Java™ version by adding -Dhttps.protocols=TLSv1.2
to your eclipse.ini file and then restarting Eclipse.
{: #git_authentication}
Your {{site.data.keyword.Bluemix_notm}} login and password are only used to authenticate with {{site.data.keyword.gitrepos}} in a web browser. You cannot use your {{site.data.keyword.Bluemix_notm}} user credentials to authenticate from external Git clients. To complete remote Git operations, such as clone
or push
, from your local Git repo, you must use a personal access token or SSH key to authenticate with {{site.data.keyword.gitrepos}}.
Important: To authenticate with your Git repo over HTTPS, you must create a personal access token.
- On the {{site.data.keyword.gitrepos}} User Settings dashboard, on the Access Tokens page {:new_window}, type the name of the application that you want to create an access token for. For example,
Git CLI
. - Optional: Choose an expiry date for the access token.
- Select the api check box to create a personal access token that uses api as the scope.
- Click Create Personal Access Token. Make note of your access token in a secure location for future use.
- On the Account page {:new_window}, in the Change username section, find your {{site.data.keyword.gitrepos}} username. Your username is also displayed as the first segment of the URL for any personal Git repos that you create.
- Use your {{site.data.keyword.gitrepos}} username and personal access token to authenticate with your Git repo from an external Git client.
To learn more, see Personal access tokens {:new_window}.
To create an SSH key, see How to create your SSH Keys {:new_window}. Accessing your repositories with SSH authentication might require more configuration for proxies and firewalls.
To learn more, see SSH {:new_window}.
{: #git_limits}
Files are strictly limited to 100 MB. The suggested repo size limit is 1 GB. If your repo exceeds 1 GB, you might receive an email with a request to reduce the size of the repo.
{: #git_tutorials}
Check out one of these tutorials on the IBM® Cloud Garage Method {:new_window}: