Re: [BUG] git checkout <branch> allowed with uncommitted changes
From: Sergei Organov <hidden> Date: 2016-06-15 22:52:15
arQon [off-list ref] writes:
[...]
Lucky you. :P The most likely reason for me is, I'm working on something
and I get interrupted and have to switch. Since the code may well not even
compile at this point, the last thing I want to do is commit it.
'git stash' is exactly what you need then.
-- Sergei.