1
0
mirror of https://github.com/HariSekhon/DevOps-Bash-tools.git synced 2025-02-06 11:00:21 +00:00

updated git_remotes_set_multi_origin.sh

This commit is contained in:
Hari Sekhon 2023-11-22 21:25:24 +00:00
parent 39f8288b84
commit 28eddb0591

View File

@ -74,7 +74,7 @@ add_origin_url(){
head -n 1 |
perl -pe "
s/^(\\w+:\\/\\/)[^\\/]+/\$1$domain/;
#s/^(git@)[^:]+/\$1$domain/
s/^(git@)[^:]+/\$1$domain/
"
)"
# XXX: Azure DevOps has non-uniform URLs compared to the 3 main Git repos