GIT-REMOTE-FD(1)
π git-remote-fd(1) β the git manual, but make it make sense π
okay so bestie, you're reading the git-remote-fd page from the Git Manual β and no, this one is NOT for you casually typing git commands, iykyk. Let's get into it β¨
πΈ NAME πΈ
git-remote-fd β literally just reflects the smart transport stream right back to whoever called it π
π¦ SYNOPSIS π¦
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
that's the whole shape of it, bestie β a URL-looking thing with file descriptors in it π
π DESCRIPTION π
so this helper uses the file descriptors you specify to connect to a remote Git server. periodt. it is not meant for end users β it's for programs and scripts that are calling git fetch, push, or archive π«Ά
if you give it only <infd>, it assumes that's a bidirectional socket connected to a remote Git server (git-upload-pack, git-receive-pack, or git-upload-archive). one fd, both directions, main character energy β¨
if you give it both <infd> and <outfd>, they're assumed to be pipes connected to a remote Git server β where <infd> is the inbound pipe and <outfd> is the outbound pipe π
fr fr it also assumes any handshaking procedures are already done (like sending the service request for git://) before this helper even starts. so don't come at it with unfinished business π
and <anything>? it can be any string. it is ignored. it's just there so the URL carries info for the user in case that URL gets displayed somewhere 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, no cap π
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, literally identical vibe π
β SEE ALSO β
gitremote-helpers(7) β go read that one too, bestie π¦
π GIT π
part of the git(1) suite π
and that's the page, gorgeous πΈ β this was Git 2.56.0, dated 2026-09-27, signing off with all the love and zero of the manpage stiffness ππ«Άβ¨
π¦ where this page comes from
- arch rolling: git 2.56.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms