【问题标题】:How to open the files of the repository from Visual Studio Code in Git Bash?如何在 Git Bash 中从 Visual Studio Code 打开存储库的文件?
【发布时间】:2021-07-25 15:17:40
【问题描述】:

我克隆了存储库的 http 链接,并将 cd 提供给存储库名称。之后,我想从 VS Code 打开该存储库的文件。我尝试通过键入以下查询在 Git Bash 中打开 VS 代码,但它们都不起作用。

我尝试过的查询

  1. start "" "Microsoft VS Code"
  2. start "" "Microsoft VS Code" .
  3. Microsoft VS Code .
  4. /Microsoft VS Code
  5. start "" "Visual Studio Code" .
  6. start Code.exe
  7. start Code.exe .
  8. code.exe
  9. code.exe .

【问题讨论】:

标签: git visual-studio-code git-bash


【解决方案1】:

我终于尝试了以下查询。而且成功了

只需键入Code .,就会弹出 VS Code 窗口,其中包括存储库的文件。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-08-09
    • 1970-01-01
    • 2017-05-13
    • 2018-11-22
    • 2022-12-10
    • 1970-01-01
    • 2015-07-13
    • 2020-06-30
    相关资源
    最近更新 更多