GitHub Team cooperation Management code

Source: Internet
Author: User
Tags git clone

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.