There is something I don\'t understand with the git pull
command.
I have a foobar
Git repository with two files, named f1
and f2
To reset specific files, use git checkout
:
git checkout HEAD f1
git checkout HEAD f2
You could possibly also use wildcards (*), but I've never tried.
Similar question: How to checkout only one file from git repository?
Resource on git checkout: http://gitready.com/beginner/2009/01/11/reverting-files.html