Git alias for checking out last branch
# Append the following to ~/.gitconfig
[alias]
cl = checkout @{-1} # checkout last branch
Written by Joey B
Related protips
1 Response
You could also do:
$ git checkout -
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#