LinuxCommandLibrary

git-remote-ext

External command transport helper

TLDR

Clone via external command

$ git clone "ext::[command] [args]"
copy
Use with custom transport
$ git remote add myremote "ext::[transport-cmd] %S [host]"
copy

SYNOPSIS

git-remote-ext url

DESCRIPTION

git-remote-ext is a remote helper that allows arbitrary external commands to handle Git transport. The `ext::` URL scheme specifies a command to run for communication, enabling custom transport mechanisms like specific SSH commands or non-standard protocols.
Template variables (such as `%s`, `%S`, `%G`) allow dynamic command construction based on the Git service being requested. This helper is typically not invoked directly but is used through `ext::` URLs in remote configurations.

PARAMETERS

URL

ext:: URL with command template.
%s
Replaced with service name.
%S
Replaced with long service name.
%G
Replaced with service (git only).
%V
Replaced with version.
--help
Display help information.

CAVEATS

Security sensitive: commands run from URLs. Internal helper, not typically used directly. Used through ext:: URLs.

HISTORY

git-remote-ext is a Git remote helper enabling custom transport mechanisms through arbitrary command execution.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community