public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* SVN FAQ: svn revert replacement
@ 2007-07-24 13:49 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2007-07-24 13:49 UTC (permalink / raw)
  To: git

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                <fweimer@bfk•de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-24 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 13:49 SVN FAQ: svn revert replacement Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox