问题 Intellij has a feature that's very cool in theory, called Smart Checkout. This feature kicks in when you're changing branches and you have files in the current branch that you've modified but haven't committed. Instead of forcing you to commit, stash or shelve your changes, it stashes them for you, switches branches, then runs stash pop in the new branch. I guess this is what you'd want sometimes, but I ran this when switching to the wrong branch. So, now my master branch is all full of