LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-remote-fd

File descriptor transport helper for Git

TLDR

Clone using file descriptors for input and output
$ git clone "fd::[fd-in],[fd-out]"
copy
Fetch using pre-opened file descriptor connections
$ git fetch "fd::17,18"
copy
Use a single file descriptor for both input and output
$ git fetch "fd::17"
copy

SYNOPSIS

git-remote-fd url

DESCRIPTION

git-remote-fd is a Git remote helper program that uses pre-opened file descriptors for communication instead of establishing its own connections. When a URL in the form `fd::in[,out]` is used, Git invokes this helper to transfer data over the specified file descriptors.If only one file descriptor is provided, it is used for both reading and writing. If two are given separated by a comma, the first is used for reading from the remote and the second for writing.This enables integration with connection brokers, process supervisors, or custom transport layers that manage connections externally. The file descriptors must be opened before invoking Git.

PARAMETERS

URL

fd:: URL in the format fd::in[,out].
in
File descriptor number for reading from the remote. If out is omitted, this descriptor is used for both directions.
out
File descriptor number for writing to the remote.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

This is an advanced, low-level feature. File descriptors must be pre-opened by the calling process. Not suitable for everyday Git workflows; primarily useful for embedding Git in applications that manage their own connections.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid