Checkout previous branch
Published: June 25, 2021
Previous branch:
sh
git switch -
N number of last visited branch:
sh
git switch @{-2}
Previous branch:
git switch -
N number of last visited branch:
git switch @{-2}