let's say you want it from origin/master:

$ git checkout origin/master <file>

and you are welcome,
  radovan


On Tue, 01 Nov 2011 20:24:31 +0100, Rambo <[email protected]> wrote:

git checkout file reverts the file... I need to UPDATE the file from a
remote repository. i don't get why everyone I ask tells me the same, it
does not work for me.
Documentation says git checkout works for branches, it does NOTHING about
pulling file updates...

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to