3 ms·
> But `git checkout filename` means "undo changes to the file". What? That's totally insane. Heh, and I'll do you one better: it's unstaged changes, so it won'
by mdaniel 5y ago
> But `git checkout filename` means "undo changes to the file". What? That's totally insane.
Heh, and I'll do you one better: it's unstaged changes, so it won't put the file back to the HEAD version 100% of the time >:-)