blob: 0abc806ea9072e563a7bdc1905442180cbc6c27a [file] [log] [blame]
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -07001git-upload-pack(1)
2==================
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -07003
4NAME
5----
Junio C Hamanoc3f0baa2007-01-18 15:53:37 -08006git-upload-pack - Send objects packed back to git-fetch-pack
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -07007
8
9SYNOPSIS
10--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040011[verse]
Thomas Rast0b444cd2010-01-10 00:33:00 +010012'git-upload-pack' [--strict] [--timeout=<n>] <directory>
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070013
14DESCRIPTION
15-----------
Thomas Rast0b444cd2010-01-10 00:33:00 +010016Invoked by 'git fetch-pack', learns what
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070017objects the other side is missing, and sends them after packing.
18
19This command is usually not invoked directly by the end user.
Thomas Rast0b444cd2010-01-10 00:33:00 +010020The UI for the protocol is on the 'git fetch-pack' side, and the
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070021program pair is meant to be used to pull updates from a remote
Thomas Rast0b444cd2010-01-10 00:33:00 +010022repository. For push operations, see 'git send-pack'.
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070023
24
25OPTIONS
26-------
Johannes Schindelin83a5ad62007-02-20 03:01:44 +010027
Stephan Beyer32402402008-06-08 03:36:09 +020028--strict::
Thomas Ackermann2de9b712013-01-21 20:17:53 +010029 Do not try <directory>/.git/ if <directory> is no Git directory.
Johannes Schindelin83a5ad62007-02-20 03:01:44 +010030
Stephan Beyer32402402008-06-08 03:36:09 +020031--timeout=<n>::
Johannes Schindelin83a5ad62007-02-20 03:01:44 +010032 Interrupt transfer after <n> seconds of inactivity.
33
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070034<directory>::
35 The repository to sync from.
36
Josh Triplettd49483f2011-07-08 16:14:10 -070037SEE ALSO
38--------
39linkgit:gitnamespaces[7]
40
Junio C Hamano8b3d9dc2005-07-14 00:08:37 -070041GIT
42---
Christian Couder9e1f0a82008-06-06 09:07:32 +020043Part of the linkgit:git[1] suite