git-remote-fd(1) — Linux manual page
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 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). 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 the user in the URL in case that URL is displayed in some context.
ENVIRONMENT VARIABLES
GIT_TRANSLOOP_DEBUG If set, prints debugging information about various reads/writes.
EXAMPLES
git fetch fd::17 master Fetch master, using file descriptor #17 to communicate with git-upload-pack. git fetch fd::17/foo master Same as above. git push fd::7,8 master (as URL) Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to the same service. git push fd::7,8/bar master Same as above.
SEE ALSO
gitremote-helpers(7)
GIT
Part of the git(1) suite
COLOPHON
This page is part of the git (Git distributed version control system) project. Information about the project can be found at ⟨http://git-scm.com/⟩. If you have a bug report for this manual page, see ⟨http://git-scm.com/community⟩. This page was obtained from the project's upstream Git repository ⟨https://github.com/git/git.git⟩ on 2024-06-14. (At that time, the date of the most recent commit that was found in the repository was 2024-06-12.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@man7.org Git 2.45.2.492.gd63586 2024-06-12 GIT-REMOTE-FD(1)
Pages that refer to this page: gitremote-helpers(7)