Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-remote-fd.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-remote-fd.adoc` 59 lines ยท 1628 bytes Raw Blame History 1 git-remote-fd(1) 2 ================ 3 4 NAME 5 ---- 6 git-remote-fd - Reflect smart transport stream back to caller 7 8 SYNOPSIS 9 -------- 10 "fd::[,][/]" (as URL) 11 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. 17 18 If only is given, it is assumed to be a bidirectional socket connected 19 to a remote Git server (git-upload-pack, git-receive-pack, or 20 git-upload-archive). If both and are given, they are assumed 21 to be pipes connected to a remote Git server ( being the inbound pipe 22 and being the outbound pipe). 23 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. 26 27 can be any string. It is ignored. It is meant for providing 28 information to the user in the URL in case that URL is displayed in some 29 context. 30 31 ENVIRONMENT VARIABLES 32 --------------------- 33 GIT_TRANSLOOP_DEBUG:: 34 If set, prints debugging information about various reads/writes. 35 36 EXAMPLES 37 -------- 38 `git fetch fd::17 master`:: 39 Fetch master, using file descriptor #17 to communicate with 40 git-upload-pack. 41 42 `git fetch fd::17/foo master`:: 43 Same as above. 44 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 the same service. 49 50 `git push fd::7,8/bar master`:: 51 Same as above. 52 53 SEE ALSO 54 -------- 55 linkgit:gitremote-helpers[7] 56 57 GIT 58 --- 59 Part of the linkgit:git[1] suite