Git Cannot rebase: You have unstaged changes.

Cannot rebase: You have unstaged changes.

那说明你有修改过的文件
git stash
git pull --rebase (每次push之前最好这样做一次)
git push ....
之后用git stash pop stash

posted @ 2018-04-03 16:00  姗姗醉了  阅读(18365)  评论(0编辑  收藏  举报