1git-remote-helpers(1)
2=====================
34
NAME
5----
6git-remote-helpers - Helper programs for interoperation with remote git
78
SYNOPSIS
9--------
10'git remote-<transport>' <remote>
1112
DESCRIPTION
13-----------
1415
These programs are normally not used directly by end users, but are
16invoked by various git programs that interact with remote repositories
17when the repository they would operate on will be accessed using
18transport code not linked into the main git binary. Various particular
19helper programs will behave as documented here.
2021
COMMANDS
22--------
2324
Commands are given by the caller on the helper's standard input, one per line.
2526
'capabilities'::
27Lists the capabilities of the helper, one per line, ending
28with a blank line.
2930
'list'::
31Lists the refs, one per line, in the format "<value> <name>
32[<attr> ...]". The value may be a hex sha1 hash, "@<dest>" for
33a symref, or "?" to indicate that the helper could not get the
34value of the ref. A space-separated list of attributes follows
35the name; unrecognized attributes are ignored. After the
36complete list, outputs a blank line.
3738
'fetch' <sha1> <name>::
39Fetches the given object, writing the necessary objects to the
40database. Outputs a blank line when the fetch is
41complete. Only objects which were reported in the ref list
42with a sha1 may be fetched this way.
43+
44Supported if the helper has the "fetch" capability.
4546
If a fatal error occurs, the program writes the error message to
47stderr and exits. The caller should expect that a suitable error
48message has been printed if the child closes the connection without
49completing a valid response for the current command.
5051
Additional commands may be supported, as may be determined from
52capabilities reported by the helper.
5354
CAPABILITIES
55------------
5657
'fetch'::
58This helper supports the 'fetch' command.
5960
REF LIST ATTRIBUTES
61-------------------
6263
None are defined yet, but the caller must accept any which are supplied.
6465
Documentation
66-------------
67Documentation by Daniel Barkalow.
6869
GIT
70---
71Part of the linkgit:git[1] suite