git checkout - checks out the last branch you were working on.
Do you find yourself needing to switch between the same two branches in git again...
For further actions, you may consider blocking this person and/or reporting abuse
haha yes! good trick. @maestromac taught me that a few months ago :)
Also look into git worktrees if you want to keep two or more branches checked out at the same time.
That one is very well kept secret though. Used it on various occasions when stashing wasn't interesting.
Noted
This also works for the
cd
command. It takes you to the previous directory.Good Trick!!