I forked and then cloned a github repo, to which I made some changes, committed them, and then tried to push:
Nates-MacBook-Pro-2:ReReplay nate$ git push origin master
fatal: remote error:
You can't push to git://github.com/natereed/ReReplay.git
Use git@github.com:natereed/ReReplay.git
Nates-MacBook-Pro-2:ReReplay nate$
What does the error message mean?
The error seems to suggest a solution:
What it means is that
git://URLs are typically “anonymous” — they don’t support authentication, and thus on Github you can’t write to them. In order to write to a repository, you need to access it usingssh(git@github.com:...) or http.This assumes, of course, that your GitHub account has been given write access to the repository.
You can reconfigure your local copy of the repository to use the ssh URL like this: