I have created a git repository and trying to push to github. I tried these:
#1
git remote add origin https://github.com/userid/reponame.git
git push -u origin master
#2
git remote add origin https://userid@github.com/userid/reponame.git
git push -u origin master
It says
error: The requested URL returned error: 403 while accessing
https://github.com/userid/reponame.git/info/refs
git remote -v
shows for above two tries
https://github.com/userid/reponame.git
https://userid@github.com/userid/reponame.git
I don't want to use ssh. Is there any way to resolve it?