我已经创建了一个git存储库并试图推送到github。我试过这些:
#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
它说
error: The requested URL returned error: 403 while accessing
https://github.com/userid/reponame.git/info/refs
git remote -v
显示上述两次尝试
https://github.com/userid/reponame.git
https://userid@github.com/userid/reponame.git
我不想使用ssh。有什么方法可以解决它吗?