The scenario:
- I make some changes in a single file locally and run
git add
,git commit
andgit push
- The file is pushed to the remote origin master repository
- I have another local repository that is deployed via Capistrano with the "remote_cache" method from that remote repository
- Now I don't want to deploy the whole application but just update/checkout that single file.
Is this somehow possible with git? I wasn't able to find anything that would work nor was I able to figure it out. With SVN I just did svn up file
and voila.