Last Updated: February 25, 2016
·
501
· abelmartin

Git: Checkout your last branch

Do you find yourself hopping back and forth between branches?

Did you know you could easily checkout your last checked out branch like this:

git checkout -

It kinda like being in bash and typing:

cd -

...to return to the last directory you were in.

Enjoy :)