Put current changes in a new Git branch
This question already has an answer here:
You can simply check out a new branch, and then commit:
git checkout -b my_new_branch
git commit
Checking out the new branch will not discard your changes.
链接地址: http://www.djcxy.com/p/23578.html上一篇: 将未提交的更改移至新分支
下一篇: 将当前更改放入新的Git分支中