Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Passing commit IDs to git-archive

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:16

Stephen Bash [off-list ref] 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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help