I have gitosis running on my server. My build system needs to get a copy of the code from gitosis. Right now I clone the whole repository, which takes a long time.
How do I get just the head of a branch? (I've tried git archive, but can't seem to get an archive from gitosis.)
Can I create an archive from a bare repository?