使用當前更改建立Git分支 - Create Git branch with current changes

問題:

I started working on my master branch thinking that my task would be easy. 我開始在個人分支上工做,認爲個人任務很簡單。 After a while I realized it would take more work and I want to do all this work in a new branch. 過了一下子,我意識到這將須要更多的工做,我想在一個新的分支中完成全部這些工做。 this

How can I create a new branch and take all these changes with me without dirtying master ? 如何建立一個新分支並隨身攜帶全部這些更改而不會弄髒主人 spa


解決方案:

參考一: https://stackoom.com/question/GMTD/使用當前更改建立Git分支
參考二: https://oldbug.net/q/GMTD/Create-Git-branch-with-current-changes
相關文章
相關標籤/搜索