mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-06-29 14:13:46 +00:00
Try "ssh://"-URLs as suggested in https://github.com/webfactory/ssh-agent/issues/30#issuecomment-756007264
This commit is contained in:
parent
99c7c405e3
commit
0f851344e9
3 changed files with 4 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -190,6 +190,7 @@ try {
|
|||
|
||||
child_process.execSync(`git config --global --replace-all url."git@${sha256}:${ownerAndRepo}".insteadOf "https://github.com/${ownerAndRepo}"`);
|
||||
child_process.execSync(`git config --global --add url."git@${sha256}:${ownerAndRepo}".insteadOf "git@github.com:${ownerAndRepo}"`);
|
||||
child_process.execSync(`git config --global --add url."git@${sha256}:${ownerAndRepo}".insteadOf "ssh://git@github.com/${ownerAndRepo}"`);
|
||||
|
||||
let sshConfig = `\nHost ${sha256}\n`
|
||||
+ ` HostName github.com\n`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue