visual-studio-code - Visual Studio 代码 : 'Ctrl +P' missing git?

标签 visual-studio-code

运行最新版本的 VSCode 和适用于 Windows 的 Git。

每当我尝试使用 Ctrl+P 来使用任何 git 命令时,我都会得到“未找到结果”。

一些 git 命令出现在 CTRL+SHIFT+P 中,但是这不允许我轻松 checkout 分支

在操作栏上,我有“源代码控制”按钮,但没有特定的 git 按钮。

最佳答案

来自其他 IDE,我发现这种使用 GIT 的 Visual Studio 方式很奇怪。

这些是我设法使其克隆存储库的步骤:

  • 打开 VSC
  • Ctrl+Shift+P
  • 滚动到 GIT:克隆
  • 按照建议输入克隆 URL
  • 输入克隆本地文件夹
  • 出现提示时,单击打开的克隆项目顶部
  • 享受
  • 关于visual-studio-code - Visual Studio 代码 : 'Ctrl +P' missing git?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43336271/

    相关文章:

    visual-studio-code - 在远程服务器上使用 VSCode 资源管理器(使用 SSH)

    javascript - Visual Studio Code,调试 Node - 我怎样才能打到这个 'Unverified Breakpoint' ?

    laravel - 为什么我的 Laravel 项目中的 VS Code 断点不起作用?

    visual-studio-code - vscode 是否可以显示由像 SourceTree 这样的帅哥压缩的 git diffs?

    nano 上的 golang 格式乱七八糟,而 vscode 上没问题。 nano 格式被推送到 git

    python - 如何在开启自动重新加载的情况下在 VSCode 中调试 Django

    visual-studio-code - 在扩展中使用 workbench.colorCustomizations?

    windows - 如何在VS代码任务中获取时间戳?

    powershell - VS Code 终端颜色很奇怪

    node.js - 在 VS Code 中使用 nodemon 调试 nestJS 应用程序