1

I created two branch on a GitHub repository but would like to set read-only permission for some members on one branch (master branch) and allow write persmission to another branch (dev branch). Is this possible on GitHub?

My temporary solution is create one public repository and one private repository like an answer on git branch permissions.

Community
  • 1
  • 1
Rong Nguyen
  • 3,913
  • 4
  • 25
  • 50

1 Answers1

1

bitbucket do this for you when you want to invite someone to your repository in bitbucket you can set his/her access type to master (read/write) ,you can simply select read and that user wont write to the master bitbucket is a server for your repository that manage your project with git (sorry for poor english)

elia07
  • 212
  • 2
  • 7