How to change the git repository path in a project

Added by James Byrne 8 months ago

We were forced to relocate our git repos, and consequently redmine, to a new server. This server has a slightly different directory layout and the git repos are no longer in the same location as that configured in redmine.

In Redmine it is not possible to edit the path of an existing repository. One can only delete it. Presumably then one adds the repository at the new location. However, I am learly of simply deleting the existing repos and trusting that reading the new locations will not cause any problems. We have about 15 years of data in Redmine and these repos.

So, what is the procedure to change the directory location of a project's existing git repository?