手册页部分 1: 用户命令

退出打印视图

更新时间: 2014 年 7 月
 
 

git-remote-fd (1)

名称

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

用法概要

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

描述




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

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

DOCUMENTATION
     Documentation by Ilari Liusvaara and the git list
     <git@vger.kernel.org[1]>




Git 1.7.9.2          Last change: 02/22/2012                    1






Git Manual                                       GIT-REMOTE-FD(1)



GIT
     Part of the git(1) suite


ATTRIBUTES
     See attributes(5) for descriptions of the following
     attributes:

     +---------------+--------------------------+
     |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
     +---------------+--------------------------+
     |Availability   | developer/versioning/git |
     +---------------+--------------------------+
     |Stability      | Uncommitted              |
     +---------------+--------------------------+
NOTES
      1. git@vger.kernel.org
         mailto:git@vger.kernel.org


     This software was built from source available at
     https://java.net/projects/solaris-userland.  The original
     community source was downloaded from  http://git-
     core.googlecode.com/files/git-1.7.9.2.tar.gz

     Further information about this software can be found on the
     open source community website at http://git-scm.com/.




























Git 1.7.9.2          Last change: 02/22/2012                    2