I would like to update a specific file in a repository that I use.
Basically I have repo X, which has N files.
For one test, I need to have the latest and greatest of a specific file, since my application is already loaded, I can't just download the whole project again.
Is there a way to tell git to get from the repo, the latest and greatest version of just a specific file, without sync the whole repo/project?
I see that many uses the archive option of git, which to me seems a bit an overkill...I need to send a command to archive, and then another to unarchive on my local directory; while I would like that git would simply look at the repo, and if there are changes only to that specific file, it will update it.
How do you do that? I can't see in Git manual a way to specify a file in the repo. I use regular git from console, no UI nor Github.