Shortcut to checkout previous branch on git
I always switched between two branches to make some rebase or cherry-pick and I always typed g co branch_name
(git checkout branch_name
).
So I tried to find out some shortcut and there we go:
git checkout -
Font: http://stackoverflow.com/questions/7206801/is-there-any-way-to-git-checkout-previous-branch
Written by Marcelo G. Cajueiro
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tip
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#