Git/Github allow collaborators but keep control

I want to allow some collaborators on one of my github repos, however I would like to limit them to their own Branch. There’s only a handful of collaborators, and limiting them to their own branch would prevent erroneous commits/push’s to the wrong branch.

Is there a way to do this? Am I going about this collaboration thing wrong? Is there a better way?

  • How do I preserve the timestamp if I split a commit via git rebase --interactive?
  • Change the wrong commit message in Git
  • What is an automated commit in the context of source control
  • Is it possible to make a git commit non-amendable?
  • git : how to create a merge with a known outcome
  • GIT: filter log by group of authors
  • Thanks for any info, I’m new to having others work on my repos. Thanks.

  • Update Feature Branch in Git with Raw Source Code
  • can you back up git reflog? Advice on best practice to guard against code loss
  • Git commit hooks - global settings
  • migrating existing project to git
  • gitignore all files in all subdirectories except xml files
  • How do you do the equivalent of a “git show tagname” with JGit?
  • One Solution collect form web for “Git/Github allow collaborators but keep control”

    For doing that they just need to fork your repository, work on it and uploaded their changes. After that you, as the owner, will be responsible for accepsting the changes and merging them into your master or not.

    If you are working with a organisation account what you want is quite difficult, due to the fact that you can only restrict access to the whole repository. Anyway you could create a group for that repo with some collaborators giving them admin rights and another group with other collaborators giving them just pull rights so that they cannot make undesired changes.

    However for your case I think you need an organisation account

    Git Baby is a git and github fan, let's start git clone.