3 ms·
I dunno - I can tell zsh to are-you-sure me about an `rm -rf *`, git seems like it should be able to do similarly. Or, as Mercurial does, back up overwritten fi
by eropple 4y ago
I dunno - I can tell zsh to are-you-sure me about an `rm -rf *`, git seems like it should be able to do similarly. Or, as Mercurial does, back up overwritten files to .bak.
These are pretty light asks.
- sagarm 4y agoThe sole purpose of git checkout -- file is to overwrite the file you explicitly listed. There should not be a confirmation by default.