Git workflow record

Suppose the master branch is http://10.1.1.1/group/project (group can be the project group name)

Development requires Fork branch to http://10.1.1.1/staff/project (staff is the account of the specific developer)

Then set Upstream to master branch git remote add upstream http://10.1.1.1/group/project

Then submit a PR after the change

For merging of master branch use git fetch upstream && git merge upstream/master

To merge specific commits use git cherry-pick #commit_id#

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325956166&siteId=291194637