‹ jan0sch.de

Git - quickly switch to last branch

2014-02-10

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’