Say I setup a repository. I want some users to be able to push, and some I’d like to go over the content of the push before approving it. Is there a concept such as conditional pushing? a queue for approval pending pushes?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In this case most people would prefer the pull model. The user sets up (or has someone else set up) a repo that’s visible to you, and they push all the changes they want to it. Then you act as a gatekeeper of sorts and pull only the commits that you deem “worthy”.
Github is set up around this model. You can fork other people’s projects, make your modifications, and then send a “pull request” basically asking the maintainer to please merge your changes.