git - How to sync changes from one branch to another?
淡淡烟草味
淡淡烟草味 2017-05-02 09:23:47
0
3
742

I have branch A (version 01), and branch B (version 01) was opened on branch A (version 01). At this time, I modified branch A (version 01->02). How can I Are the modified results brought to branch B?

Please answer me, don’t tell me to delete B and then re-branch = - =

淡淡烟草味
淡淡烟草味

reply all(3)
巴扎黑
git checkout B
git merge A
阿神

Correct solution on the first floor
Just merge branch A directly on branch B.

習慣沉默

You can merge branches or use rebase to add the modified parts of branch a to b, it depends on whether you need to merge or not

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template