Re:Key Git Concepts Explained the Hard Way
by three14 on Thursday March 15, 2018 @12:21PM
(#16594180)
You only can switch like that sometimes, and it would have been more intuitive if there was an implicit per-branch stash and stash pop when switching branches, which would always let you switch.
See https://stackoverflow.com/questions/22053757/checkout-anothe...