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 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 user in the URL in case that URL is
       displayed in some context.


           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 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 same

       git push fd::7,8/bar master
           Same as above.

SEE ALSO         top


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 
       ⟨⟩.  If you have a bug report for this manual page,
       see ⟨⟩.  This page was obtained from the
       project's upstream Git repository ⟨⟩ on
       2018-10-29.  (At that time, the date of the most recent commit that
       was found in the repository was 2018-10-26.)  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

Git 2.10.0.rc2.20.g5             09/01/2016                 GIT-REMOTE-FD(1)

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