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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user