Ask a question about using git as team development.

  git, question

Current situation:

  • There are multiple branches, including a main branchmasterThis branch is mainly used for publishing

  • The other branches are their own local development branches, which can be named here, for example:test1test2test ...

Question:

  • All members can modify and merge any branch into the main branch.master(even can directly putmaster(deleted)

The desired end result:

  • Can we branch the main linemasterSet permissions to allow only specific users to modify, synchronize, and merge other branches

Look at this tutoriallab