git annoyances: how to force git to fetch a particular file

Troy Rollo wine at troy.rollo.name
Wed Jul 12 00:29:49 CDT 2006


On Wednesday 12 July 2006 14:47, Dan Kegel wrote:
> Sigh, I guess I'll just have to keep blowing away my git tree every
> few days... shame I'm not smart enough to use 'git fetch' properly.
> - Dan

From the bottom of <http://wiki.winehq.org/GitWine>:

If you have made changes in the working copy but need to revert it to what is 
in the repository (equivalent to svn revert):

git checkout HEAD file-name

-- 
Troy Rollo - wine at troy.rollo.name



More information about the wine-devel mailing list