如何从 Visual Studio Git Bash 中的代码打开存储库的文件?

How to open the files of the repository from Visual Studio Code in Git Bash?

我克隆了存储库的 http link 并将 cd 指定为存储库名称。之后,我想从 VS Code 打开该存储库的文件。我尝试通过键入以下查询在 Git Bash 中打开 VS 代码,但其中 none 有效。

我试过的查询

  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 .

我终于尝试了以下查询。 它起作用了

只需输入 Code . VS Code window 就会弹出,包括存储库的文件。