假设主分支 http://10.1.1.1/group/project (group能够是项目组名称)git
开发须要Fork分支到 http://10.1.1.1/staff/project (staff是具体的开发者的帐号)fetch
而后设置Upstream到主分支 git remote add upstream http://10.1.1.1/group/project开发
而后更改后提交PRrem
对于主分支的合并使用 git fetch upstream && git merge upstream/masterit
合并具体的提交使用 git cherry-pick #commit_id#ast