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

你可能感兴趣的:(Git Cannot rebase: You have unstaged changes.)