开发者

gitosis change server

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 t开发者_StackOverflowhe 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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜