Our team has 6 people working together to develop a small project, we created a new organization on GitHub, joined the team members, then created a new repository to push the initial code of our project up. first step. Each team member folk project
After folk into the team member's own GitHub warehouse, it will show where the project is folk.
Then use the git clone command to clone the code to a local
git clone Address
Step two. Local Update code
After the clone is local, each team member can modify the code and submit the code after the modification is complete:
Git add .
git commit-m "Update"
git push Origin master
This allows the code to be updated to the team member's own warehouse and the main branch has not been updated. step three. Send Pull request
Pull request will be sent to members with merged permissions. step fourth. Merging Code
After the team member has updated the code and submits it to his or her GitHub library, the administrator will see the pull requests of each branch and then mege the request to the new main branch.