Make git work through ldiproxy

This commit is contained in:
David Holland 2022-09-20 15:13:30 +02:00
parent d85417d216
commit f0a5b0923c
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function git-proxy --wraps='git' --description 'Use git through ldiproxy'
GIT_SSH_COMMAND='ssh -o "ProxyCommand=nc -X connect -x ldiproxy.lsjv.rlp.de:8080 %h %p"' git $argv;
end

View File

@ -0,0 +1,3 @@
function pgit --wraps='git-proxy' --description 'alias git-proxy'
git-proxy $argv;
end