Last Updated: February 25, 2016
·
629
· luisobo

Go to the previous branch on git

When you are in a certain branch and you want to go to the last one you were, just type

git checkout -

I recommend to alias checkout as co. Then just type

git co -

BAM!