Last Updated: February 25, 2016
·
902
· marcelocajueiro

Shortcut to checkout previous branch on git

I always switched between two branches to make some rebase or cherry-pick and I always typed g co branch_name (git checkout branch_name).

So I tried to find out some shortcut and there we go:

git checkout -

Font: http://stackoverflow.com/questions/7206801/is-there-any-way-to-git-checkout-previous-branch