問題:
I'm new to Git, and now I'm in this situation: 我是Git的新手,如今我處於這種狀況: this
- I have four branches (master, b1, b2, and b3). 我有四個分支(master,b1,b2和b3)。
- After I worked on b1-b3, I realized I have something to change on branch master that should be in all other branches. 在我使用b1-b3以後,我意識到我在分支主機上有一些改變,應該在全部其餘分支中。
- I changed what I needed in
master
and... here is my problem: 我改變了master
所須要的東西......這是個人問題:
How do I update all other branches with master
branch code? 如何使用master
分支代碼更新全部其餘分支? spa
解決方案:
參考一:
https://stackoom.com/question/GGZt/從master更新Git分支
參考二:
https://oldbug.net/q/GGZt/Update-Git-branches-from-master