]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-remote-fd.txt
Merge branch 'js/t3404-typofix' into maint
[thirdparty/git.git] / Documentation / git-remote-fd.txt
CommitLineData
3a9ed4bd 1git-remote-fd(1)
7851b1e6 2================
3a9ed4bd
IL
3
4NAME
5----
6git-remote-fd - Reflect smart transport stream back to caller
7
8SYNOPSIS
9--------
10"fd::<infd>[,<outfd>][/<anything>]" (as URL)
11
12DESCRIPTION
13-----------
2de9b711 14This helper uses specified file descriptors to connect to a remote Git server.
3a9ed4bd
IL
15This is not meant for end users but for programs and scripts calling git
16fetch, push or archive.
17
469bfc96 18If only <infd> is given, it is assumed to be a bidirectional socket connected
2de9b711 19to remote Git server (git-upload-pack, git-receive-pack or
2e3a16b2 20git-upload-archive). If both <infd> and <outfd> are given, they are assumed
2de9b711 21to be pipes connected to a remote Git server (<infd> being the inbound pipe
3a9ed4bd
IL
22and <outfd> being the outbound pipe.
23
24It is assumed that any handshaking procedures have already been completed
25(such as sending service request for git://) before this helper is started.
26
469bfc96 27<anything> can be any string. It is ignored. It is meant for providing
3a9ed4bd
IL
28information to user in the URL in case that URL is displayed in some
29context.
30
7851b1e6
IL
31ENVIRONMENT VARIABLES
32---------------------
3a9ed4bd
IL
33GIT_TRANSLOOP_DEBUG::
34 If set, prints debugging information about various reads/writes.
35
7851b1e6
IL
36EXAMPLES
37--------
5d2fc913 38`git fetch fd::17 master`::
3a9ed4bd
IL
39 Fetch master, using file descriptor #17 to communicate with
40 git-upload-pack.
41
5d2fc913 42`git fetch fd::17/foo master`::
3a9ed4bd
IL
43 Same as above.
44
5d2fc913 45`git push fd::7,8 master (as URL)`::
3a9ed4bd
IL
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.
49
5d2fc913 50`git push fd::7,8/bar master`::
3a9ed4bd
IL
51 Same as above.
52
26726718
MH
53SEE ALSO
54--------
439cc746 55linkgit:gitremote-helpers[7]
26726718 56
3a9ed4bd
IL
57GIT
58---
59Part of the linkgit:git[1] suite