Code in the Browser with GitHub Classroom 6 years ago
How would the auto stashing work if you were to checkout in an irregular pattern? Say I:
- Make changes to branch A
- Checkout B (A changes are auto stashed)
- Make changes to B
- Checkout C (B changes are auto stashed)
- Checkout A again
As far as I know git stashes are FIFO, so it wouldn't be that easy to pop my stash for branch A at this point.