Each time we need to checkout to the previous branch we have been, we type
git checkout previous-branch-name or when using ZSH Shell we can just type
How to Git Checkout to Previous Branch in a Lazy and Fast Way
Instead of the traditional way, described above, we can be lazy and fast at same time ;)
git checkout - or if using ZSH Shell
Wtf how I have not remembered to try this before, this is working exactly like when working with directories, when using
Sometimes I just hate my self for not spotting so obvious behaviours… argh!!!