Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
TIL: git checkout -
1 point by amitu on Oct 24, 2013 | hide | past | favorite | 1 comment
Does what you expect it to.


git checkout @{-2}

Checks out the branch you were on two checkouts ago.




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

Search: