我目前正在学习Hartl的Ruby on Rails教程,但在GitHub部分卡住了。每当我尝试将我的存储库推送到GitHub时,会出现以下情况:
Hannas-MacBook-Air:first_app Hannananana$ git remote add origin https://github.com/hannaselvaag/first_app.git
Hannas-MacBook-Air:first_app Hannananana$ git push -u origin master
Username:
Password:
^[error: The requested URL returned error: 403 while accessing
https://github.com/hannaselvaag/first_app.git/info/refs
fatal: HTTP request failed
我在github.com创建了用户名和密码,但终端不允许我输入任何内容。有什么建议吗?