I am new to Git/GitHub and ran into an issue. I created a test project and added it to the local repository. Now I am trying to add files/project to the remote repository.
Here's what I did (and this worked) -
git remote add origin git://github.com/my_user_name/my_repo.git
Now when I try to push the repository to GitHub, using the following command, I get the following error -
git push origin master
Error -
fatal: remote error:
You can't push to git://github.com/my_user_name/my_repo.git
Use [email protected]:my_user_name/my_repo.git