Hacker News new | ask | show | jobs
by MattBearman 1069 days ago
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)
1 comments

Thank you I didn't know about this. Your version is a bit more compact.