git 提交命令

git stash -u 占存本地版本

git commit

git fetch 提交

git rebase

git stash pop

将本地没有提交的代码暂存,然后切换到其他分支,然后再回到当前分支

git stash

git checkout 其它分支

git checkout 当前分支

git stash pop

原文地址:https://www.cnblogs.com/senior-engineer/p/10058891.html