login
Header Space

 
 

Re: How-to revert a locally modified file

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Friday, December 1, 2006 - 2:20 am

Junio C Hamano wrote:

here: http://kerneltrap.org/node/5678


FYI the above seems more obvious then what's in the man page:

"It updates the named paths in the working tree from the
index file (i.e. it runs git-checkout-index -f -u)."

But for me saying something like;

"It reverts the paths in the working tree to the most recent version stored in git."

would even be better. It may not be as precise as the current sentence,
but more obvious to this neophyte. Finally, in the EXAMPLES you
might add another example of reverting a "modified the file" as
well as recovering a deleted file.

In any case thanks,

Wink
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How-to revert a locally modified file, Wink Saville, (Fri Dec 1, 1:23 am)
Re: How-to revert a locally modified file, Junio C Hamano, (Fri Dec 1, 1:51 am)
Re: How-to revert a locally modified file, Wink Saville, (Fri Dec 1, 2:20 am)
speck-geostationary