'\" t .\" Title: git-remote-fd .\" Author: [see the Documentation section] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/19/2016 .\" Manual: Git Manual .\" Source: Git 1.7.10.4 .\" Language: English .\" .TH "GIT\-REMOTE\-FD" "1" "03/19/2016" "Git 1\&.7\&.10\&.4" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" git-remote-fd \- Reflect smart transport stream back to caller .SH "SYNOPSIS" .sp "fd::[,][/]" (as URL) .SH "DESCRIPTION" .sp 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\&. .sp If only is given, it is assumed to be a bidirectional socket connected to remote git server (git\-upload\-pack, git\-receive\-pack or git\-upload\-achive)\&. If both and are given, they are assumed to be pipes connected to a remote git server ( being the inbound pipe and being the outbound pipe\&. .sp It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started\&. .sp can be any string\&. It is ignored\&. It is meant for providing information to user in the URL in case that URL is displayed in some context\&. .SH "ENVIRONMENT VARIABLES" .PP GIT_TRANSLOOP_DEBUG .RS 4 If set, prints debugging information about various reads/writes\&. .RE .SH "EXAMPLES" .PP git fetch fd::17 master .RS 4 Fetch master, using file descriptor #17 to communicate with git\-upload\-pack\&. .RE .PP git fetch fd::17/foo master .RS 4 Same as above\&. .RE .PP git push fd::7,8 master (as URL) .RS 4 Push master, using file descriptor #7 to read data from git\-receive\-pack and file descriptor #8 to write data to same service\&. .RE .PP git push fd::7,8/bar master .RS 4 Same as above\&. .RE .SH "DOCUMENTATION" .sp Documentation by Ilari Liusvaara and the git list <\m[blue]\fBgit@vger\&.kernel\&.org\fR\m[]\&\s-2\u[1]\d\s+2> .SH "GIT" .sp Part of the \fBgit\fR(1) suite .SH "NOTES" .IP " 1." 4 git@vger.kernel.org .RS 4 \%mailto:git@vger.kernel.org .RE