Git Tips Slides
PageUp x2: previous · PageDown x2: next · Home: index

Switch back to previous branch

Often I want to switch between two branches. This is handy:

git switch -

This switches to the previous branch. And to get back ... again git switch -.

Like cd - in the bash shell.