updated git_remotes_set_ssh_to_https.sh

pull/16/head
Hari Sekhon 8 months ago
parent 6deb7e9734
commit 3d5621fb61

@ -52,7 +52,7 @@ perl -pi -e 's/(\bgit@[^:]+):/\1\//;
s/\bgit@/https:\/\//;
' .git/config
azure_devops_url="$(grep '^[[:space:]]*url[[:space:]]*=[[:space:]]*.*dev.azure.com' .git/config |
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

Loading…
Cancel
Save