Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rndstr
· 10y ago · 0 comments
git checkout -
Switches to the previously checked out branch.
Comments
[–]
fbr
10y ago
More generally "-" is an alias for the previous branch, so it can be used in other commands as well (ex: git merge -)