PhpStorm无法推送到git仓库(PhpStorm can not push to git repository)

编程入门 行业动态 更新时间:2024-10-12 03:17:36
PhpStorm无法推送到git仓库(PhpStorm can not push to git repository)

我使用的是Windows 8,PhpStorm 8.0.2,git

我正在尝试将我的项目推送到删除git存储库(它们托管在github和bitbucket上)。

我在php风暴的版本控制控制台中看到的最后一条消息是:

git -c core.quotepath=false push --progress --porcelain origin refs/heads/master:master

并且它会永远等待它,它不会显示此命令的任何错误或输出

如果我正在推动项目manualy(从命令行,或从命令git push origin PhpStorm中的控制台选项卡),它运行良好。 我也可以将更改提交到我的本地存储库。

我试图禁用Windows防火墙并将git和phpstorm添加到防火墙规则中 - 它没有帮助。

当我使用命令ssh -T git@github.com它也运行良好,并给我关于成功访问github的消息。

所以,唯一不起作用的是推动通过PhpStorm菜单删除git存储库。

我该怎么做才能解决这个问题?

谢谢

I am using Windows 8, PhpStorm 8.0.2, git

I am trying to push my projects to the remove git repository (they are hosted on the github and bitbucket).

Last message that I see in the Version Control Console of the php storm is:

git -c core.quotepath=false push --progress --porcelain origin refs/heads/master:master

And it waits on it forever, it does not show any error or output from this command

If I'm pushing project manualy (from command line, or from console tab in PhpStorm with command git push origin) it works well. Also I can commit changes into my local repository.

I've tried to disable windows firewall and added both git and phpstorm into the firewall rules - it does not help.

When I'm using command ssh -T git@github.com it also works well and gives me message about successfully access to the github.

So, the only thing that does not working is pushing to remove git repository via PhpStorm menu.

What can I do to fix this problem?

Thanks

最满意答案

转到phpstorm - > settings - > version control - > git并在“ssh executable”部分的下拉列表中选择“内置”。

go to phpstorm -> settings -> version control -> git and choose "built in" on the "ssh executable" section's dropdown.

更多推荐

本文发布于:2023-07-17 13:04:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1144897.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:仓库   git   PhpStorm   push   repository

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!