git:make-fork: Add call to git-https-and-ssh

When setting up the remotes the fetch url can use https since the fork
will be public anyways. This delays a prompt for the ssh key until it is
really necessary.
This commit is contained in:
2024-03-24 13:46:42 +01:00
parent 803b35d3d5
commit 234f452434

View File

@@ -11,6 +11,7 @@ git remote rename origin upstream
# Assume that the fork is named equally
url="$(git remote get-url upstream)"
git remote add origin "git@github.com:druckdev/${url:t}"
git https-and-ssh
git fetch origin