File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -774,9 +774,12 @@ other
774
774
If this environment variable is set then 'git fetch'
775
775
and 'git push' will use this command instead
776
776
of 'ssh' when they need to connect to a remote system.
777
- The '$GIT_SSH' command will be given exactly two arguments:
778
- the 'username@host' (or just 'host') from the URL and the
779
- shell command to execute on that remote system.
777
+ The '$GIT_SSH' command will be given exactly two or
778
+ four arguments: the 'username@host' (or just 'host')
779
+ from the URL and the shell command to execute on that
780
+ remote system, optionally preceded by '-p' (literally) and
781
+ the 'port' from the URL when it specifies something other
782
+ than the default SSH port.
780
783
+
781
784
To pass options to the program that you want to list in GIT_SSH
782
785
you will need to wrap the program and options into a shell script,
You can’t perform that action at this time.
0 commit comments