Merge branch 'ja/fetch-doc' into maint
[git/dscho.git] / Documentation / git-upload-pack.txt
blob63f3b5c7425cd0b76a6931d92872424310f5fbce
1 git-upload-pack(1)
2 ==================
4 NAME
5 ----
6 git-upload-pack - Send objects packed back to git-fetch-pack
9 SYNOPSIS
10 --------
11 'git upload-pack' [--strict] [--timeout=<n>] <directory>
13 DESCRIPTION
14 -----------
15 Invoked by 'git-fetch-pack', learns what
16 objects the other side is missing, and sends them after packing.
18 This command is usually not invoked directly by the end user.
19 The UI for the protocol is on the 'git-fetch-pack' side, and the
20 program pair is meant to be used to pull updates from a remote
21 repository.  For push operations, see 'git-send-pack'.
23 After finishing the operation successfully, `post-upload-pack`
24 hook is called (see linkgit:githooks[5]).
26 OPTIONS
27 -------
29 --strict::
30         Do not try <directory>/.git/ if <directory> is no git directory.
32 --timeout=<n>::
33         Interrupt transfer after <n> seconds of inactivity.
35 <directory>::
36         The repository to sync from.
38 Author
39 ------
40 Written by Linus Torvalds <torvalds@osdl.org>
42 Documentation
43 --------------
44 Documentation by Junio C Hamano.
46 GIT
47 ---
48 Part of the linkgit:git[1] suite