-
-
Save yatskevich/0450411775373143c0baf5c5c0c5eb3f to your computer and use it in GitHub Desktop.
batch script for loading git-bash and the vs tools in the same window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
%HOMEDRIVE% | |
cd %HOMEPATH% | |
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 | |
echo Use full exe names when running under bash, e.g. "msbuild.exe" | |
echo Loading bash, you may now use git and msbuild in the same console \o/. | |
"C:\Program Files\Git\bin\sh.exe" --login -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment