We've all seen this command sequence:
git clone [someRepo]
cd [someRepo]
code .
This will clone some repo, get into the folder and open it using Visual Studio Code. Without going into arguments whether VSCode or VS is better - I do use Visual Studio. Is there some VS command that is similar to "code .", that will open some solution directly from git bash/powershell/cmd?
Thanks in advance!
CodePudding user response:
As an improvement of my first question you can use :
git clone [someRepo]
cd [someRepo]
**start devenv .**
It will open visual studio with the current directory.