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

- 'cd -' change to the previous directory you were working on

To my surprise, this also works with git:

  git checkout -  # to checkout the previous branch


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

Search: