Project admins can manage a project’s Git settings by going to Project settings > Git.
In this overview, we’ll go over how to:
- Manage repositories
- Connect issue references and keywords
- Disable Git
Manage repositories
In Git settings, select the “Repositories” tab to:
- Add a repository.
- Edit an existing repository.
- Copy a repository URL using the clipboard icon.
To add a repository:
- Select “Add repository.”
- Enter the name, description, and webhook URL.
- Select “Create repository.”
To edit or permanently delete a repository:
- Select “Edit” next to the repository.
- Select “Update repository” or “Delete.”
To change the default branch for a repository, select another branch from the “Default branch” drop-down menu.
Connect issue references and keywords
If members include an issue key in their Git commit message, it can be automatically posted as a comment in the issue. To enable this setting:
- Select the “Connect issue references and log keywords” box.
- Select “Submit.”
Disable Git
To disable Git, select the “Disable Git” button at the bottom of the “Settings” tab. Disabling Git will delete all repositories and their data for the project.