X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-archive.txt;h=493474b2eeabb2f7928b0e9f91cfd1ff64763a6d;hb=e0d10e1c63bc52b37bbec99b07deee794058d9b4;hp=913528d3732999fd3c5a4648b8544fc80827d3dc;hpb=56f9686c4d1e1d586b731b815bd98d70f84ecda4;p=git.git diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 913528d37..493474b2e 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -3,7 +3,7 @@ git-archive(1) NAME ---- -git-archive - Creates a archive of the files in the named tree +git-archive - Creates an archive of files from a named tree SYNOPSIS @@ -40,6 +40,7 @@ OPTIONS :: This can be any options that the archiver backend understand. + See next section. --remote=:: Instead of making a tar archive from local repository, @@ -52,6 +53,18 @@ path:: If one or more paths are specified, include only these in the archive, otherwise include all files and subdirectories. +BACKEND EXTRA OPTIONS +--------------------- + +zip +~~~ +-0:: + Store the files instead of deflating them. +-9:: + Highest and slowest compression level. You can specify any + number from 1 to 9 to adjust compression speed and ratio. + + CONFIGURATION ------------- By default, file and directories modes are set to 0666 or 0777 in tar