4 ms·
That's like asking how to undo `rm -rf`
by airstrike 7y ago
That's like asking how to undo `rm -rf`
- nemetroid 7y agoIt really is. Sure, it is an issue that it's the same subcommand as you use for many other things (which is being worked on with git switch/restore), but there is no other context where you'd do `git checkout .` if it wasn't your direct intention to get rid of changes in your workspace.
- jhasse 7y agoMercurial creates backup files though.