News for hackers. Stuff that matters.

darderp

Re:Code in the Browser with GitHub Classroom on Tuesday May 26, 2020 @11:44PM (#23319161)
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.

Not quite a "best practices", but absolutely have a look at this: https://twitter.com/i/events/994601867987619840