简体   繁体   中英

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

I cloned the http link of the repository and I gave the cd to the repository name. And after that I wanted to open the files of that repository from VS Code. I tried to open the VS code in Git Bash by typing the following queries, but none of them worked.

Queries I have tried

  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.

I finally tried the following query. And it worked .

Just type Code. and the VS Code window will pop up including the files of the repository.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM