Hacker News new | comments | ask | show | jobs | submit login

    git checkout -
Switches to the previously checked out branch.



More generally "-" is an alias for the previous branch, so it can be used in other commands as well (ex: git merge -)




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

Search: