bins/rpr: set remote urls

This commit is contained in:
Aaron Bieber 2023-05-17 18:26:02 -06:00
parent b14c23e107
commit a9f4865674
No known key found for this signature in database

View File

@ -25,4 +25,10 @@ in ''
# ${htBin}
${htBin} git create "$proj" || echo "error creating '$proj' on 'sr.ht'"
git config --unset-all remote.origin.url
for repo in "git@github.com:qbit/%s.git" "ssh://gitea@git.tapenet.org:2222/qbit/%s.git" "git@codeberg.org:qbit/%s.git" "git@git.sr.ht:~qbit/%s"; do
echo "Adding remote: $(printf $repo $proj)"
git config --add remote.origin.url "$(printf $repo $proj)"
done
''