minus-squareusa_suxxx [they/them]@hexbear.nettoProgrammer Humor@programming.dev•GitHub Desktop or Git CLI?linkfedilinkEnglisharrow-up8·edit-211 months agoHTTPS git remote add origin https://github.com/user/repo.git SSH git remote add origin git@github.com:user/repo.git Did you use the correct syntax for SSH? linkfedilink
minus-squareusa_suxxx [they/them]@hexbear.nettoProgrammer Humor@programming.dev•GitHub Desktop or Git CLI?linkfedilinkEnglisharrow-up4·edit-211 months agohttps://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account Connect an SSH key and use that. linkfedilink
HTTPS
git remote add origin https://github.com/user/repo.git
SSH
git remote add origin git@github.com:user/repo.git
Did you use the correct syntax for SSH?