git-fast-import.txt: --relative-marks takes no parameter
[git/dscho.git] / Documentation / git-remote-fd.txt
blob4aecd4d1878e0af6c3e6c87a63df1375606ff65a
1 git-remote-fd(1)
2 ================
4 NAME
5 ----
6 git-remote-fd - Reflect smart transport stream back to caller
8 SYNOPSIS
9 --------
10 "fd::<infd>[,<outfd>][/<anything>]" (as URL)
12 DESCRIPTION
13 -----------
14 This helper uses specified file descriptors to connect to a remote git server.
15 This is not meant for end users but for programs and scripts calling git
16 fetch, push or archive.
18 If only <infd> is given, it is assumed to be a bidirectional socket connected
19 to remote git server (git-upload-pack, git-receive-pack or
20 git-upload-achive). If both <infd> and <outfd> are given, they are assumed
21 to be pipes connected to a remote git server (<infd> being the inbound pipe
22 and <outfd> being the outbound pipe.
24 It is assumed that any handshaking procedures have already been completed
25 (such as sending service request for git://) before this helper is started.
27 <anything> can be any string. It is ignored. It is meant for providing
28 information to user in the URL in case that URL is displayed in some
29 context.
31 ENVIRONMENT VARIABLES
32 ---------------------
33 GIT_TRANSLOOP_DEBUG::
34         If set, prints debugging information about various reads/writes.
36 EXAMPLES
37 --------
38 git fetch fd::17 master::
39         Fetch master, using file descriptor #17 to communicate with
40         git-upload-pack.
42 git fetch fd::17/foo master::
43         Same as above.
45 git push fd::7,8 master (as URL)::
46         Push master, using file descriptor #7 to read data from
47         git-receive-pack and file descriptor #8 to write data to
48         same service.
50 git push fd::7,8/bar master::
51         Same as above.
53 Documentation
54 --------------
55 Documentation by Ilari Liusvaara and the git list <git@vger.kernel.org>
57 GIT
58 ---
59 Part of the linkgit:git[1] suite