无法通过 PhpStorm [MacOs] 将文件推送到 GitHub
Can't push files to GitHub via PhpStorm [MacOs]
我正在尝试配置我的 PhpStorm 以将文件发送到 GitHub,但它失败了。我可以通过 Github Desctop
推送文件,但我不能通过 PhpStorm 执行同样的操作。
我的 Github 帐户已正确连接到 PhpStorm。我可以结帐,但我不能 commit
和 push
文件
我的错误:
Push failed: Failed with error: unable to access 'https://github.com/***/***..git/': The requested URL returned error: 403
技术规格:
- Mac OS 高山脉
- PhpStorm 2018.1
- GitHub 桌面 v1.2.3
检查你是否做到了 register a GitHub account in PhpStorm。
如果您的 GitHub 帐户正在使用 2FA (2-factor authentication), you would need to configure an Access token first。
错了还要检查credentials are cached in the OSX Keychain.
最后,考虑 switching to an SSH URL 如果 https 出于某种原因不起作用。
我正在尝试配置我的 PhpStorm 以将文件发送到 GitHub,但它失败了。我可以通过 Github Desctop
推送文件,但我不能通过 PhpStorm 执行同样的操作。
我的 Github 帐户已正确连接到 PhpStorm。我可以结帐,但我不能 commit
和 push
文件
我的错误:
Push failed: Failed with error: unable to access 'https://github.com/***/***..git/': The requested URL returned error: 403
技术规格: - Mac OS 高山脉 - PhpStorm 2018.1 - GitHub 桌面 v1.2.3
检查你是否做到了 register a GitHub account in PhpStorm。
如果您的 GitHub 帐户正在使用 2FA (2-factor authentication), you would need to configure an Access token first。
错了还要检查credentials are cached in the OSX Keychain.
最后,考虑 switching to an SSH URL 如果 https 出于某种原因不起作用。