git-16_local repository

Share a local repository

$ cd comsa-source
$ git init --shared=0771

Make sure you have a branch that other developers can push to.

Use a shared local repository

•	Example: development in mr27359 and comsaci is the main local repository
$ git remote add comsaci /home/comsaci/mr27359/comsa-source
$ git pull comsaci
$ git checkout -b mr27359 comsaci
发布了38 篇原创文章 · 获赞 3 · 访问量 6671

猜你喜欢

转载自blog.csdn.net/zhanghuanhuanzhh/article/details/88741457
今日推荐