|
|
|
@ -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")"
|
|
|
|
|