目录 搜索
Guides gitattributes giteveryday gitglossary gitignore gitmodules gitrevisions gittutorial gitworkflows Administration git archive git bundle git clean git filter-branch git fsck git gc git instaweb git reflog Basic Snapshotting git add git commit git diff git mv git reset git rm git status Branching and Merging git branch git checkout git log git merge git mergetool git stash git tag Debugging git bisect git blame git grep Email git am git format-patch git request-pull git send-email External Systems git fast-import git svn Getting and Creating Projects git clone git init Git git annotate git archimport git bisect-lk2009 git check-attr git check-mailmap git check-ref-format git checkout-index git cherry git citool git column git credential git credential-cache git credential-store git cvsexportcommit git cvsimport git cvsserver git diff-files git diff-tree git difftool git fast-export git fetch-pack git fmt-merge-msg git get-tar-commit-id git gui git http-backend git http-fetch git http-push git imap-send git index-pack git interpret-trailers git ls-remote git ls-tree git mailinfo git mailsplit git merge-file git merge-index git merge-one-file git merge-tree git mktag git mktree git name-rev git notes git p4 git pack-objects git pack-redundant git pack-refs git parse-remote git patch-id git prune git prune-packed git quiltimport git receive-pack git remote-ext git remote-fd git remote-testgit git repack git replace git rerere git send-pack git sh-i18n git sh-setup git shell git show-branch git show-index git stripspace git unpack-file git unpack-objects git upload-archive git upload-pack git var git verify-commit git verify-tag git whatchanged git worktree Inspection and Comparison git describe git shortlog git show Miscellaneous api credentials api index gitcli gitcore tutorial gitcredentials gitcvs migration gitdiffcore githooks gitk gitnamespaces gitremote helpers gitrepository layout gitsubmodules gittutorial 2 gitweb gitweb.conf pack format User Manual Patching git apply git cherry-pick git rebase git revert Plumbing Commands git cat-file git check-ignore git commit-tree git count-objects git diff-index git for-each-ref git hash-object git ls-files git merge-base git read-tree git rev-list git rev-parse git show-ref git symbolic-ref git update-index git update-ref git verify-pack git write-tree Server Admin git daemon git update-server-info Setup and Config git git config git help Sharing and Updating Projects git fetch git pull git push git remote git submodule
文字

名称

git-remote-fd  - 将智能传输流反射回调用者

概要

"fd::<infd>,<outfd>" (as URL)

描述

该帮助程序使用指定的文件描述符连接到远程Git服务器。这不是针对最终用户,而是针对调用git fetch,push或archive的程序和脚本。

如果只给出<infd>,则假定它是连接到远程Git服务器(git-upload-pack,git-receive-pack或git-upload-archive)的双向套接字。如果给出了<infd>和<outfd>,则假定它们是连接到远程Git服务器的管道(<infd>是入站管道,<outfd>是出站管道)。

假设在这个助手启动之前,任何握手过程都已经完成(比如发送git://的服务请求)。

<anything>可以是任何字符串。它被忽略。这是为了在URL在某些情况下显示的情况下在URL中向用户提供信息。

环境变量

GIT_TRANSLOOP_DEBUG

如果设置,则打印关于各种读取/写入的调试信息。

示例

git fetch fd::17 master

抓取主文件,使用文件描述符#17与git-upload-pack进行通信。

git fetch fd::17/foo master

同上。

git push fd::7,8 master (as URL)

推送主文件,使用文件描述符#7从git-receive-pack和文件描述符#8读取数据以将数据写入相同的服务。

git push fd::7,8/bar master

Same as above.

另请参阅

gitremote-helpers[1]

上一篇: 下一篇: