I cloned a gist using the Public Clone URL. I made my changes, added, and committed. However when I run, git push origin master
I get the following error:
fatal: remote error:
You can't push to git://github.com/1234567.git
Use [email protected]:1234567.git
yet according to git remote -v
the origin should be at the gist.github.com subdomain
origin git://gist.github.com/1234567.git (fetch)
origin git://gist.github.com/1234567.git (push)
Any ideas on resolving this error? Thanks!
Have you tried changing to the remote URL that the error suggests? Try doing:
git remote set-url --push origin [email protected]:1234567.git
Currently, you're connecting with HTTP and it wants you to connect with SSH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With