Last Updated: February 25, 2016
·
1.101K
· JoeyButler

Git alias for checking out last branch

# Append the following to ~/.gitconfig
[alias]
  cl = checkout @{-1} # checkout last branch

1 Response
Add your response

You could also do:
$ git checkout -

over 1 year ago ·