I made clone of my github.
and than opened few file, changed few code
, and now i want to publish this code to my githu.com/user/repo.git repository. But when i do..
root@linux# cd myRepo/
root@linux# git commit -a -m "Updated footer"
root@linux# git push origin master.
I am getting following error :-
fatal: remote error:
You can't push to git://github.com/user/repo.git
Use https://github.com/user/repo.git
Please don't show me path to google, i have tried them and after failing it, i am writing them here.
You cloned the repository using the read-only URL. Change the URL for your origin remote to the read-write URL given to you in the error message:
git remote set-url origin https://github.com/user/repo.git
Then try pushing again. (You may need to supply your GitHub credentials at this point.)