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