Dup Goto 📝

GitSshKey

PT2/aw/dev/git 07-31 13:46:43
To Pop
11 lines, 42 words, 313 chars Monday 2023-07-31 13:46:43

To use with an ssh key, you need a git@github url. So if you have e.g.

https://github.com/johnallsup/javascript-games

you need to

git remote set-url origin git@github.com:johnallsup/javascript-games.git

Then add your id_rsa.pub (or other public key) to github via settings.