summaryrefslogtreecommitdiffstats
path: root/git.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-12-05 15:38:06 -0800
committerJunio C Hamano <gitster@pobox.com>2014-12-05 15:38:06 -0800
commitfad84129b4a5c4269d078ca268c893969973c5d6 (patch)
tree9d06f17f5f06dc39e8b619f244da9be741de04db /git.html
parent7c4741cf911342df5374f4788be6667f875808f6 (diff)
downloadgit-htmldocs-fad84129b4a5c4269d078ca268c893969973c5d6.tar.gz
Autogenerated HTML docs for v2.2.0-33-gc18b86
Diffstat (limited to 'git.html')
-rw-r--r--git.html30
1 files changed, 17 insertions, 13 deletions
diff --git a/git.html b/git.html
index 7e5158d7f..4f039eaf9 100644
--- a/git.html
+++ b/git.html
@@ -2618,21 +2618,25 @@ parameter, &lt;path&gt;.</p></div>
<dt class="hdlist1">
<em>GIT_SSH</em>
</dt>
+<dt class="hdlist1">
+<em>GIT_SSH_COMMAND</em>
+</dt>
<dd>
<p>
- If this environment variable is set then <em>git fetch</em>
- and <em>git push</em> will use this command instead
- of <em>ssh</em> when they need to connect to a remote system.
- The <em>$GIT_SSH</em> command will be given exactly two or
- four arguments: the <em>username@host</em> (or just <em>host</em>)
- from the URL and the shell command to execute on that
- remote system, optionally preceded by <em>-p</em> (literally) and
- the <em>port</em> from the URL when it specifies something other
- than the default SSH port.
+ If either of these environment variables is set then <em>git fetch</em>
+ and <em>git push</em> will use the specified command instead of <em>ssh</em>
+ when they need to connect to a remote system.
+ The command will be given exactly two or four arguments: the
+ <em>username@host</em> (or just <em>host</em>) from the URL and the shell
+ command to execute on that remote system, optionally preceded by
+ <em>-p</em> (literally) and the <em>port</em> from the URL when it specifies
+ something other than the default SSH port.
</p>
-<div class="paragraph"><p>To pass options to the program that you want to list in GIT_SSH
-you will need to wrap the program and options into a shell script,
-then set GIT_SSH to refer to the shell script.</p></div>
+<div class="paragraph"><p><code>$GIT_SSH_COMMAND</code> takes precedence over <code>$GIT_SSH</code>, and is interpreted
+by the shell, which allows additional arguments to be included.
+<code>$GIT_SSH</code> on the other hand must be just the path to a program
+(which can be a wrapper shell script, if additional arguments are
+needed).</p></div>
<div class="paragraph"><p>Usually it is easier to configure any desired options through your
personal <code>.ssh/config</code> file. Please consult your ssh documentation
for further details.</p></div>
@@ -2918,7 +2922,7 @@ subscribed to the list to send a message there.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-11-26 14:53:08 PST
+Last updated 2014-12-05 15:37:36 PST
</div>
</div>
</body>