Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Patching
Debugging
External Systems
Server Admin
Guides
- gitattributes
- Command-line interface conventions
- Everyday Git
- Frequently Asked Questions (FAQ)
- Glossary
- Hooks
- gitignore
- gitmodules
- Revisions
- Submodules
- Tutorial
- Workflows
- All guides...
Administration
Plumbing Commands
- 2.22.1 → 2.34.1 no changes
- 2.22.0 06/07/19
- 2.11.4 → 2.21.4 no changes
- 2.10.5 09/22/17
- 2.3.10 → 2.9.5 no changes
- 2.2.3 09/04/15
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-archive). 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.
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.
GIT
Part of the git[1] suite