无法推送到 git repo bc 终端无法识别正确的用户名并通过?

Can't push to git repo bc terminal not recognizing correct username and pass?

我正在关注此 tutorial,但在尝试将 material 推送到我的 git 存储库时卡住了:

根据您的存储库配置,这可能有多种情况,但最常见的是:

  1. 您的凭据不正确(username/password 拼写错误)
  2. 您对该存储库没有 "push" 权限。
  3. 您需要使用访问令牌而不是密码。

+1 到 username/password 的问题。通过配置您的 git credentials through keychain 可能更容易确定。

或者,使用 SSH 密钥对 GitHub 进行身份验证:https://help.github.com/articles/generating-ssh-keys/

Git 和 GitHub 需要时间来学习 - 观看一些课程 on Commitmas 以快速了解其中的细微差别。