Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t通过PhpStorm[MacOs]将文件推送到GitHub_Git_Macos_Github_Phpstorm_Webstorm - Fatal编程技术网

Can';t通过PhpStorm[MacOs]将文件推送到GitHub

Can';t通过PhpStorm[MacOs]将文件推送到GitHub,git,macos,github,phpstorm,webstorm,Git,Macos,Github,Phpstorm,Webstorm,我正在尝试配置PhpStorm以将文件发送到GitHub,但失败了。我可以通过Github Desctop推送文件,但无法通过PhpStorm进行同样的操作 我的Github帐户已正确连接到PhpStorm。我可以签出,但不能提交和推送文件 我的错误: 推送失败:失败,错误:无法访问'https://github.com/***/***..git/':请求的URL返回错误:403 技术规格: -Mac OS High Sierra -PhpStorm 2018.1 -GitHub Desktop

我正在尝试配置PhpStorm以将文件发送到GitHub,但失败了。我可以通过
Github Desctop
推送文件,但无法通过PhpStorm进行同样的操作

我的Github帐户已正确连接到PhpStorm。我可以签出,但不能
提交
推送
文件

我的错误:
推送失败:失败,错误:无法访问'https://github.com/***/***..git/':请求的URL返回错误:403

技术规格: -Mac OS High Sierra -PhpStorm 2018.1 -GitHub Desktop v1.2.3

检查是否有

如果您的GitHub帐户正在使用,则需要

检查是否有错误


最后,考虑HTTPS是否由于某种原因而不起作用。 嗨,我已经看了你所有的方式…我的帐户已注册。。。我没有2FA。。。但还是不行。当我用Android做我的项目时,它对我起了作用Studio@Antonio112009然后尝试切换到SSH:这可能更容易。我通过终端发现错误。。。它显示了我的旧帐户。。。我需要想办法改变我在PHPStorm的Acc我在读。。。但所有的答案都是关于Windows的,其中大多数都是复制粘贴。现在我有一个问题,如何在PhpStorm中为github切换帐户。。。我还有problem@Antonio112009您键入了什么命令来查看您的旧帐户?