[Development Notes] - commit has been filed, from one branch into another branch

Use cherry-pick, simple use: git cherry-pick <commit id>

A submission is assumed here that the branch, the branch into B. Specific steps are as follows:

1 by the idea, to see that the branch A version number may, as: 419dd3d
 2 into the root directory of the project, the window open command git
 3 Run: git checkout B, action command is to switch to the branch B
 4 Run: git cherry- Pick 419dd3d
 5 is completed.

End.

Guess you like

Origin www.cnblogs.com/juihai/p/12155552.html