DEV Community

Discussion on: Quickly switching between branches

Collapse
 
bradtaniguchi profile image
Brad

this "back-button" command also works for changing directories:

cd - 

(I actually learned the git version 2nd by just trying it out one day hehe)

Collapse
 
ai7ch profile image
Aitch

recently I have come to learn this, seen it my lead-dev doing it... Maybe he doesn't know that we can also use it in git. I might gonna show off :D:D.