NAME
git-remote-ext - Bridge smart transport to external command.
SYNOPSIS
git remote add <nick> "ext::<command>[ <arguments>...]"DESCRIPTION
This remote helper uses the specified <command> to connect to a remote Git server.
Data written to stdin of the specified <command> is assumed to be sent to a git:// server, git-upload-pack, git-receive-pack or git-upload-archive (depending on situation), and data read from stdout of <command> is assumed to be received from the same service.
Command and arguments are separated by an unescaped space.
The following sequences have a special meaning:
'% '
%%
%s
%S
%G (must be the first characters in an argument)
This is useful if the remote side is git:// server accessed over some tunnel.
%V (must be first characters in argument)
ENVIRONMENT VARIABLES
GIT_TRANSLOOP_DEBUG
ENVIRONMENT VARIABLES PASSED TO COMMAND
GIT_EXT_SERVICE
GIT_EXT_SERVICE_NOPREFIX
EXAMPLES
This remote helper is transparently used by Git when you use commands such as "git fetch <URL>", "git clone <URL>", , "git push <URL>" or "git remote add <nick> <URL>", where <URL> begins with ext::. Examples:
"ext::ssh -i /home/foo/.ssh/somekey [email protected] %S foo/repo"
"ext::socat -t3600 - ABSTRACT-CONNECT:/git-server %G/somerepo"
"ext::git-server-alias foo %G/repo"
"ext::git-server-alias foo %G/repo %Vfoo"
"ext::git-server-alias foo %G/repo% with% spaces %Vfoo"
"ext::git-ssl foo.example /bar"
SEE ALSO
gitremote-helpers(7)
GIT
Part of the git(1) suite