git 提交命令

git stash -u 占存本地版本

git commit

git fetch 提交

git rebase

git stash pop

 

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

git stash

git checkout 其它分支

git checkout 当前分支

git stash pop

posted @ 2018-12-03 15:45  maxiongying  阅读(156)  评论(0编辑  收藏  举报