My workflow often consists of the following:
Is there any sort of git history that will show me that the thing I was previously working on was branch A?
Try:
git reflog
which will list all of your recent actions that changed something, so checkout, rebase, pull, push, etc.
Also it includes all the commit ids, so for example if you did a dozen commit --amend
you can jump back to one in the middle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With