Answer the question
In order to leave comments, you need to log in
How to organize work with a git repository in a team?
There is a conditional team of three people, two beginners and one older. What is the best way to organize access to the repository?
Answer the question
In order to leave comments, you need to log in
Beginners work each under their own account.
2 main branches - dev and master .
The newbie branches from dev , does the work, and pushes to the server.
Senior reviews code and merges to dev .
Test the code in the dev branch .
If the tests pass, merge into master .
Naturally, for beginners, we cut access to the merge and prohibit direct pushing to master .
You can also set up the launch of the linter and autotests before the commit, so as not to accidentally upload something that is not working.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question