4 ms·
This is only true if one of the files that you've changed has 100% no changes between the branch you're currently on and the branch you're switching to. Even st
by ryanbrunner 13y ago
This is only true if one of the files that you've changed has 100% no changes between the branch you're currently on and the branch you're switching to. Even stuff that would normally be auto-merged will not allow you to switch branches.
I still usually give it a try, and then stash when that gives me a problem. With 12 developers and some high-churn files, it's pretty common that 2 people are doing something with the same file, even with branches that only last 1-2 days.