Is it possible to export only the files from a single revision from a remote Git repository? In Subversion, we can easily do this:
svn export https://some.website.com/trunk/app/etc@5317 --username=user --password=pass --force -r 5317 ./build/trunk/app
This will give me only the files that were changed in revision 5317 and nothing else. Why is this not possible in Git?
Note: I've already read How to do a “git export” (like “svn export”), but all the answers refer to some variation of cloning an entire repository. I don't need an entire work tree. I just need a handful of files. My repository is 4.5 gigs and my FTP build system hosted on a VM charges for inbound and has limited disk space. Any help appreciated.