There are three possible ways to setup a repository root that is not located in the Jira home directory:
-
Clone the repository outside of Jira then connect to it via Connect to Git Repository ➜ Advanced Setup.
-
Clone the repository with the standard Connect to Git Repository wizard into the Jira home directory. Soon afterwards, move the cloned repository and update the settings on the repository.
-
You could symlink the
{$Jira_HOME}/data/git-plugin
directory to a different volume. The standard Connect to Git Repository wizard will still write there, but the data will reside on the different volume. But be aware, that Git Integration app treats anything in thegit-plugin
folder as a clone that it owns.
Prev: Adding a repository hosted on Windows Server or Windows Network share
Next: Tracked folders overview
More related topics on setting up repositories
Git integration configuration page
Using the Add new integration wizard
Using the Connect Repository wizard
Connecting a repository via Advanced setup
Adding a repository hosted on Windows Server or Windows Network Share
Setup repository root not located in Jira HOME directory (this page)