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

$ git checkout origin/master <file>

and you are welcome,

On Tue, 01 Nov 2011 20:24:31 +0100, Rambo <demia...@gmail.com> 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 git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to