From: Junio C Hamano Date: Fri, 09 Mar 2012 22:34:07 GMT Subject: Re: Passing commit IDs to git-archive Message-ID: <7vhaxx4d5s.fsf@alter.siamese.dyndns.org> In-Reply-To: <8fb14091-99dc-4383-9cab-5bf508e0a554@mail> Stephen Bash writes: > Unfortunately I just attempted > > warp:bar bash$ git archive --remote=file:///Users/bash/Development/foo \ > --output=test.tgz 3b9e49b \ > path/to/subdir > > Thoughts? Thanks in advance! If you are always fetching from that same location, perhaps doing this only once git clone file:///... and then every time you want to use the test.tgz, do something like git fetch git archive --output=test.tgz 3b9e49b path/to/subdir or something like that?