3 ms·
> I want to throw away everything and get my version to be the same as the branch on the server/another local branch. Isn't that `git reset --hard remote/branc
by tejohnso 6y ago
> I want to throw away everything and get my version to be the same as the branch on the server/another local branch.
Isn't that `git reset --hard remote/branch` ?
- slaymaker1907 6y agoThat doesn't remove untracked files. You need to do the memorable "git clean -fd" to get rid of those. This is my point: two commands for what should be doable in one simple command.