1. First time submission
git clone remote repository git checkout-b new branch (spoke name: related to the feature you submitted) git fetch # here is no git pull,git pull equivalent git fetch && git merge process git Merge Origin/xxxx (merged with Remote development Branch) Git commit # Fill in the Commit information git review
2, has been submitted, for the last submitted patch
git fetch ssh://[email protected]:29418/99cloud/openstack-deploy refs/changes/13/13/1 && git checkout Fetch_ HEAD # git fetch the remote patch branch git checkout-b new branch (spoke name: related to the function you submitted) git commit--amend # Use the same change Idgit review (conflict, need git R Ebase)
This article is from the "The-way-to-cloud" blog, make sure to keep this source http://iceyao.blog.51cto.com/9426658/1619628
git-Company Internal code submission