fix secretless remote

This commit is contained in:
LuKe Tidd 2023-05-18 08:27:11 -04:00
parent fd4d901890
commit 1db8502819
Signed by: luke
GPG Key ID: 75D6600BEF4E8E8F

2
gclone
View File

@ -30,5 +30,5 @@ else
git config user.signingkey "$gpg_key"! git config user.signingkey "$gpg_key"!
git config commit.gpgsign true git config commit.gpgsign true
git remote remove origin git remote remove origin
GPG_TTY=$(tty) git push --set-upstream "$url" main GPG_TTY=$(tty) git remote add main "$url"
fi fi