Last Updated: February 25, 2016
· 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 -