Use git commit code - the code submitted to different branches in the branch switching without

We will submit the code, especially when relatively large number of branches of the project, we will submit code to a different branch, this time, if switching to and fro branch changes after the submission, it will be very time-consuming, one day powerless to change a few bug.

In one branch of the modified code, such as first in one branch commit; local branch B-1, B submitted to merge into the top branch

Then a key step: Select Cherry-pick mean refining the election

 

 

 

 Finally, this revision will own code to select another target branch to commit

 

 And so on, so it is more convenient

Guess you like

Origin www.cnblogs.com/dongyaotou/p/12120642.html
Recommended