Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: