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