Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MattBearman
· 3y ago · 0 comments
Unless I’m misunderstanding you can checkout your previous branch with
git checkout -
(The same way you can use ‘cd -‘ to change to your previous directory)
Comments
[–]
fantapop
3y ago
Thank you I didn't know about this. Your version is a bit more compact.