updated git.sh

pull/16/head
Hari Sekhon 8 months ago
parent 9b46fdb33d
commit f5745f3931

@ -186,10 +186,12 @@ git_url_base(){
sed 's|^ssh://||;
s|^https://.*@||;
s|^https://||;
s|:[[:digit:]]*||;
s/^git@ssh.dev.azure.com:v3/dev.azure.com/;
s|^git@||;
s|^|https://|;
s/\.git$//;' |
s/\.git$//;
' |
perl -pe 's/:(?!\/\/)/\//'
}

Loading…
Cancel
Save