Re: Passing commit IDs to git-archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Bash <bash@xxxxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]