Posted over 6 years ago. Visible to the public.

Git - quickly switch to last branch

Like the cd - command git also has a shortcut to checkout the last branch. git checkout - switches to the last checked out branch.

% git checkout - Switched to branch 'foo' % git checkout - Switched to branch 'bar'

Owner of this card:

Last edit:
over 6 years ago
Posted by jan0sch to jan0sch's deck
This website uses short-lived cookies to improve usability.
Accept or learn more