X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-archive.txt;h=41cbf9c0819872a322321455b8a5cb805efcc26b;hb=d1983677f75469d177b0b948f0b66ad3471a26a2;hp=f2080eb6ad35282107fd5500eb9cba9290497cb9;hpb=4e837a98b65fbe0c83376cae5167605b771421d8;p=git.git diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index f2080eb6a..41cbf9c08 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -9,13 +9,15 @@ git-archive - Create an archive of files from a named tree SYNOPSIS -------- [verse] -'git-archive' --format= [--list] [--prefix=/] [] - [--remote=] [path...] +'git archive' --format= [--list] [--prefix=/] [] + [--remote= [--exec=]] + [path...] DESCRIPTION ----------- Creates an archive of the specified format containing the tree -structure for the named tree. If is specified it is +structure for the named tree, and writes it out to the standard +output. If is specified it is prepended to the filenames in the archive. 'git-archive' behaves differently when given a tree ID versus when @@ -31,13 +33,15 @@ OPTIONS ------- --format=:: - Format of the resulting archive: 'tar', 'zip'... The default + Format of the resulting archive: 'tar' or 'zip'. The default is 'tar'. ---list, -l:: +-l:: +--list:: Show all available formats. ---verbose, -v:: +-v:: +--verbose:: Report progress to stderr. --prefix=/:: @@ -51,6 +55,10 @@ OPTIONS Instead of making a tar archive from local repository, retrieve a tar archive from a remote repository. +--exec=:: + Used with --remote to specify the path to the + 'git-upload-archive' on the remote side. + :: The tree or commit to produce an archive for. @@ -112,4 +120,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list