通过 VSCode 发布分支时找不到命令

发布于 2025-01-12 13:01:29 字数 196 浏览 6 评论 0原文

当我单击 VSCode 上的发布分支时,图像显示“未找到命令”:

我打开终端,它说此文件未检测到问题

Image shows "command not found" when I click on publish branch on my VSCode:

I opened terminal and it says problem is not been detected with this file

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃→可爱长大的 2025-01-19 13:01:29

几分钟前,我遇到了这种情况,尽管我有不同的设置:我正在运行 WSL 会话,我的远程存储库是 GitLab 而不是 GitHub,但我有相同的“命令”未找到”消息。

我使用 SSH 和我的代理尝试了一些操作(例如,我可以从命令行推送和拉取),但我无法让 VSCode 通过 GUI 执行存储库推送和拉取操作。我注意到我的设置图标上有一个指示器,它表示有可用的补丁。我安装了最新的 VSCode,问题就消失了。现在在 VSCode 1.65.2 上。

I ran into this exact situation a few minutes ago, although I had a different setup: I was running a WSL session, and my remote repository was GitLab not GitHub, but I had the same 'Command '' not found' message.

I tried several things with SSH and my agent (for example, I could push and pull from the command line), but I could not get VSCode to do repository push and pull operations through the GUI. I noticed an indicator on my settings icon and it said there was a patch available. I installed the latest VSCode and the problem went away. Now on VSCode 1.65.2.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文