Please commit your changes or stash them before you switch branches. Aborting

参考的网站:http://stackoverflow.com/questions/15745045/how-do-i-resolve-git-saying-commit-your-changes-or-stash-them-before-you-can-me
解决方法:
1,git commit -m "My message"
2,git stash
3,git stash pop
4,using git reset --hard.

你可能感兴趣的:(Please commit your changes or stash them before you switch branches. Aborting)