mhhzng
Last Updated: February 25, 2016
·
963
· JoeyButler

Git alias for checking out last branch

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

1 Response
Add your response

2959

You could also do:
$ git checkout -

over 1 year ago ·