使用当前更改建立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
相关文章
相关标签/搜索