Mateusz Soltysik

Mateusz Soltysik

On Software Engineering, Cloud Computing, Technical Training.

Git: Checkout Previous Branch

The simples way to checkout previous branch is to use following command:

git checkout -

The command is an equivalent to git checkout @{-1}.

Resources: documentation link.

Tags