HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by rndstr | Hacker News Reader
Full thread
rndstr
·
git checkout -
Switches to the previously checked out branch.
View on HN
fbr
·
More generally "-" is an alias for the previous branch, so it can be used in other commands as well (ex: git merge -)
Reply on news.ycombinator.com