git-remote-fd(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT VARIABLES | EXAMPLES | SEE ALSO | GIT | COLOPHON

GIT-REMOTE-FD(1)               Git Manual               GIT-REMOTE-FD(1)

NAME         top

       git-remote-fd - Reflect smart transport stream back to caller

SYNOPSIS         top

       "fd::<infd>[,<outfd>][/<anything>]" (as URL)

DESCRIPTION         top

       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:https://) 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         top

       GIT_TRANSLOOP_DEBUG
           If set, prints debugging information about various
           reads/writes.

EXAMPLES         top

       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         top

       gitremote-helpers(7)

GIT         top

       Part of the git(1) suite

COLOPHON         top

       This page is part of the git (Git distributed version control
       system) project.  Information about the project can be found at
       ⟨http:https://git-scm.com/⟩.  If you have a bug report for this manual
       page, see ⟨http:https://git-scm.com/community⟩.  This page was obtained
       from the project's upstream Git repository
       ⟨https://github.com/git/git.git⟩ on 2023-12-22.  (At that time,
       the date of the most recent commit that was found in the
       repository was 2023-12-20.)  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
       [email protected]

Git 2.43.0.174.g055bb6         2023-12-20               GIT-REMOTE-FD(1)

Pages that refer to this page: gitremote-helpers(7)