diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/git/git-remote-fd.html | |
new repository
Diffstat (limited to 'devdocs/git/git-remote-fd.html')
| -rw-r--r-- | devdocs/git/git-remote-fd.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/git/git-remote-fd.html b/devdocs/git/git-remote-fd.html new file mode 100644 index 00000000..2458eb98 --- /dev/null +++ b/devdocs/git/git-remote-fd.html @@ -0,0 +1,6 @@ +<h1>git-remote-fd</h1> <h2 id="_name">Name</h2> <div class="sectionbody"> <p>git-remote-fd - Reflect smart transport stream back to caller</p> </div> <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <p>"fd::<infd>[,<outfd>][/<anything>]" (as URL)</p> </div> <h2 id="_description">Description</h2> <div class="sectionbody"> <p>This helper uses specified file descriptors to connect to a remote Git server. This is not meant for end users but for programs and scripts calling git fetch, push, or archive.</p> <p>If only <infd> is given, it is assumed to be a bidirectional socket connected to a remote Git server (git-upload-pack, git-receive-pack, or git-upload-archive). If both <infd> and <outfd> are given, they are assumed to be pipes connected to a remote Git server (<infd> being the inbound pipe and <outfd> being the outbound pipe).</p> <p>It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started.</p> <p><anything> can be any string. It is ignored. It is meant for providing information to the user in the URL in case that URL is displayed in some context.</p> </div> <h2 id="_environment_variables">Environment variables</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-remote-fd.txt-GITTRANSLOOPDEBUG"> GIT_TRANSLOOP_DEBUG </dt> <dd> <p>If set, prints debugging information about various reads/writes.</p> </dd> </dl> </div> </div> <h2 id="_examples">Examples</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-remote-fd.txt-codegitfetchfd17mastercode"> <code>git fetch fd::17 master</code> </dt> <dd> <p>Fetch master, using file descriptor #17 to communicate with git-upload-pack.</p> </dd> <dt class="hdlist1" id="Documentation/git-remote-fd.txt-codegitfetchfd17foomastercode"> <code>git fetch fd::17/foo master</code> </dt> <dd> <p>Same as above.</p> </dd> <dt class="hdlist1" id="Documentation/git-remote-fd.txt-codegitpushfd78masterasURLcode"> <code>git push fd::7,8 master (as URL)</code> </dt> <dd> <p>Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to the same service.</p> </dd> <dt class="hdlist1" id="Documentation/git-remote-fd.txt-codegitpushfd78barmastercode"> <code>git push fd::7,8/bar master</code> </dt> <dd> <p>Same as above.</p> </dd> </dl> </div> </div> <h2 id="_see_also">See also</h2> <div class="sectionbody"> <p><a href="gitremote-helpers">gitremote-helpers[7]</a></p> </div><div class="_attribution"> + <p class="_attribution-p"> + © 2012–2024 Scott Chacon and others<br>Licensed under the MIT License.<br> + <a href="https://git-scm.com/docs/git-remote-fd" class="_attribution-link">https://git-scm.com/docs/git-remote-fd</a> + </p> +</div> |
