Hacker News new | ask | show | jobs
by perlgeek 1428 days ago
... or with `git checkout` or with `rm` or `git clean` (for files not yet under version control).
1 comments

... or git merge / git pull (but not git rebase) ...
How do you loose files with git merge / git pull?
merge and pull update the reflog just like rebase does, so both can be undone!