table of contents
GIT-REMOTE-FD(1) | Git Manual | GIT-REMOTE-FD(1) |
NAME¶
git-remote-fd - Reflect smart transport stream back to caller
SYNOPSIS¶
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
DESCRIPTION¶
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.
If only <infd> 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 <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.
It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started.
<anything> 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.
ENVIRONMENT VARIABLES¶
GIT_TRANSLOOP_DEBUG
EXAMPLES¶
git fetch fd::17 master
git fetch fd::17/foo master
git push fd::7,8 master (as URL)
git push fd::7,8/bar master
DOCUMENTATION¶
Documentation by Ilari Liusvaara and the Git list <git@vger.kernel.org[1]>
GIT¶
Part of the git(1) suite
NOTES¶
- 1.
- git@vger.kernel.org
05/23/2023 | Git 1.8.3.1 |