简体   繁体   中英

Team Git Workflow Setup

I am working on a project with a group of around 10 people. I am trying to make it so each person has a remote repository they can push to in which everyone can fetch from. There will also be a blessed repository in which everyone (except manager) can fetch from.

Note - Developers will be using the Eclipse plugin once this is all in place.

How do I make it so users can fetch from each others repositories but not push to them? When I set permissions to 744 users are unable to even pull from that repository.

Any help would be greatly appreciated this is driving me nuts!

Please take a look at gitolite. Gitosis is no longer actively developed.

https://github.com/sitaramc/gitolite

It may be better to have one central repository, with a branch for each dev. These branches have their permission set so they're writable only the developer who owns it. Of course each dev has it's own local repository and can pull from other branches on the remote repo.

You get the same functionality you want, but with one remote instead of 10, much easier to administrate.

Gitolite allows you to set a repository with such fine per-branch permission.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM