Reputation: 1516
I installed a fresh instance of gitosis, and also have an old one.
What do I have to do to move the repos from the old to the new server? Clone on the new server?
What do I have to change on the developer computers, to switch the remote branch? Or do they need to clone again?
Upvotes: 5
Views: 1043
Reputation: 763
You can just copy all the repository directories to the gitosis's directory. Then you can grant access (read or write) to users by editing gitosis-admin repository.
Upvotes: 2
Reputation: 7892
Just change the address of the remote "origin" to the new location in your local checkout and push. You can change the address using git remote
or you can edit .git/config
directly.
Upvotes: 1