From: Junio C Hamano Date: Sun, 17 Sep 2006 10:34:21 +0000 (+0000) Subject: Autogenerated man pages for v1.4.2.1-g4d69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0444623d25be8fa4cb1e628765c9ca054b4c214e;p=git.git Autogenerated man pages for v1.4.2.1-g4d69 --- diff --git a/man1/git-archive.1 b/man1/git-archive.1 new file mode 100755 index 000000000..d25053654 --- /dev/null +++ b/man1/git-archive.1 @@ -0,0 +1,78 @@ +.\" ** You probably do not want to edit this file directly ** +.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). +.\" Instead of manually editing it, you probably should edit the DocBook XML +.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. +.TH "GIT\-ARCHIVE" "1" "09/17/2006" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +git\-archive \- Creates a archive of the files in the named tree +.SH "SYNOPSIS" +\fIgit\-archive\fR \-\-format= [\-\-list] [\-\-prefix=/] [] [\-\-remote=] [path\&...] +.sp +.SH "DESCRIPTION" +Creates an archive of the specified format containing the tree structure for the named tree. If is specified it is prepended to the filenames in the archive. +.sp +\fIgit\-archive\fR behaves differently when given a tree ID versus when given a commit ID or tag ID. In the first case the current time is used as modification time of each file in the archive. In the latter case the commit time as recorded in the referenced commit object is used instead. Additionally the commit ID is stored in a global extended pax header if the tar format is used; it can be extracted using \fIgit\-get\-tar\-commit\-id\fR. In ZIP files it is stored as a file comment. +.sp +.SH "OPTIONS" +.TP +\-\-format= +Format of the resulting archive: +\fItar\fR, +\fIzip\fR\&... +.TP +\-\-list +Show all available formats. +.TP +\-\-prefix=/ +Prepend / to each filename in the archive. +.TP + +This can be any options that the archiver backend understand. +.TP +\-\-remote= +Instead of making a tar archive from local repository, retrieve a tar archive from a remote repository. +.TP + +The tree or commit to produce an archive for. +.TP +path +If one or more paths are specified, include only these in the archive, otherwise include all files and subdirectories. +.SH "CONFIGURATION" +By default, file and directories modes are set to 0666 or 0777 in tar archives. It is possible to change this by setting the "umask" variable in the repository configuration as follows : +.sp +.sp +.nf +umask = 002 ;# group friendly +.fi +The special umask value "user" indicates that the user's current umask will be used instead. The default value remains 0, which means world readable/writable files and directories. +.sp +.SH "EXAMPLES" +.TP +git archive \-\-format=tar \-\-prefix=junk/ HEAD | (cd /var/tmp/ && tar xf \-) +Create a tar archive that contains the contents of the latest commit on the current branch, and extracts it in +/var/tmp/junk +directory. +.TP +git archive \-\-format=tar \-\-prefix=git\-1.4.0/ v1.4.0 | gzip >git\-1.4.0.tar.gz +Create a compressed tarball for v1.4.0 release. +.TP +git archive \-\-format=tar \-\-prefix=git\-1.4.0/ v1.4.0^{tree} | gzip >git\-1.4.0.tar.gz +Create a compressed tarball for v1.4.0 release, but without a global extended pax header. +.TP +git archive \-\-format=zip \-\-prefix=git\-docs/ HEAD:Documentation/ > git\-1.4.0\-docs.zip +Put everything in the current head's Documentation/ directory into +\fIgit\-1.4.0\-docs.zip\fR, with the prefix +\fIgit\-docs/\fR. +.SH "AUTHOR" +Written by Franck Bui\-Huu and Rene Scharfe. +.sp +.SH "DOCUMENTATION" +Documentation by David Greaves, Junio C Hamano and the git\-list . +.sp +.SH "GIT" +Part of the \fBgit\fR(7) suite +.sp diff --git a/man1/git-upload-archive.1 b/man1/git-upload-archive.1 new file mode 100755 index 000000000..1540c5d8b --- /dev/null +++ b/man1/git-upload-archive.1 @@ -0,0 +1,32 @@ +.\" ** You probably do not want to edit this file directly ** +.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). +.\" Instead of manually editing it, you probably should edit the DocBook XML +.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. +.TH "GIT\-UPLOAD\-ARCHIVE" "1" "09/17/2006" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +git\-upload\-archive \- Send archive +.SH "SYNOPSIS" +\fIgit\-upload\-archive\fR +.sp +.SH "DESCRIPTION" +Invoked by \fIgit\-archive \-\-remote\fR and sends a generated archive to the other end over the git protocol. +.sp +This command is usually not invoked directly by the end user. The UI for the protocol is on the \fIgit\-archive\fR side, and the program pair is meant to be used to get an archive from a remote repository. +.sp +.SH "OPTIONS" +.TP + +The repository to get a tar archive from. +.SH "AUTHOR" +Written by Franck Bui\-Huu. +.sp +.SH "DOCUMENTATION" +Documentation by Junio C Hamano and the git\-list . +.sp +.SH "GIT" +Part of the \fBgit\fR(7) suite +.sp