updated git_remotes_set_https_to_ssh.sh

pull/16/head
Hari Sekhon 8 months ago
parent 963f412c1b
commit 6deb7e9734

@ -43,7 +43,7 @@ perl -pi -e 's/(https:\/\/[^\/]+)\//\1:/;
s/https:\/\/(.+\@)?/git\@/;
' .git/config
azure_devops_url="$(grep '^[[:space:]]*url[[:space:]]*=[[:space:]]*.*dev.azure.com' .git/config | sed 's/.*url[[:space:]]*=[[:space:]]*//; s/[[:space:]]*$//' || :)"
azure_devops_url="$(grep -m1 '^[[:space:]]*url[[:space:]]*=[[:space:]]*.*dev.azure.com' .git/config | sed 's/.*url[[:space:]]*=[[:space:]]*//; s/[[:space:]]*$//' || :)"
if [ -n "$azure_devops_url" ]; then
azure_devops_url2="$(git_to_azure_url "$azure_devops_url")"

Loading…
Cancel
Save