SVN FAQ: svn revert replacement

From: Florian Weimer <hidden>
Date: 2016-06-15 22:43:23

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".

-- 
Florian Weimer                [off-list ref]
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help