Well, I just got the answer I needed: how to clone just the tip of a remote Git repository ? Here’s how:
Sometimes you just want to distribute the source code without its history, and that’s where git-archive comes in.git archive <tree-ish> > my_new_archive.tar
Kate Rhodes in Getting just the tip of a Git repo
I think I might use this in Piston. I’m not too sure yet, as I haven’t implemented
piston-git, but it looks like a promising candidate.