Skip to contentSkip to conversation

SVN FAQ: svn revert replacement

DISCUSSION Florian Weimer 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Just one nit: The correct replacement for "svn revert FILE" seems to be:

  $ git checkout HEAD -- FILE

The current suggestion, "git checkout FILE", does not work if the modifications have been staged with "git add".

Signature · 4 lines
Florian Weimer                <[email protected]>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99