Greetings,
I use the push-to-deploy pattern (as described in 4.1 http://gitolite.com/deploy.html). However, my git repo has large binary files that I'd like to annex. Is there an example of using git annex with a bare remote repository with the appropriate post-receive hook to accomplish the deploy?
Thanks
I'm not sure that a bare repository is the best way to go about it.
One way to do it is to have a non-bare repository, which gets updated when you push (by eg setting receive.denyNonFastforwards=false), and have that non-bare repository be the one you push to deploy to.
While you could push first to a bare repository and have it then push on the the non-bare repository, that seems to mostly only complicate things, since you will need to find a way to copy the annexed file contents from the bare to the non-bare repository.