I started using git and already know two ways to use it
- as a single developer
- as multiple developers
The 2nd way is nice, but I need to control, what files should really be taken into the master-branch. I heard of a 3rd way to use git, where you can be some sort of an Admin to decide what’s coming into the repository and what should not come into it.
You can use the Dictator-Lieutanant workflow. This means that only one person (the dictator) is allowed to push to the main repo (the “blessed repo”). The other developers have their own repository. When they feel that they got something ready, they notify the dictatorm and he pulls in their changes and merges them into the main repository. That is the workflow that Linux Torvalds and his people use to develop the Linux kernel.
See http://progit.org/book/ch5-1.html