Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 292 Bytes

cherry-pick.md

File metadata and controls

12 lines (9 loc) · 292 Bytes

cherry-pick

在一个分支commit之后,另一个分支要同步这个commit

git checkout A
git commit -m "Fixed the bug x"
git checkout B
git cherry-pick A

参考