Skip to content

Instantly share code, notes, and snippets.

View yatskevich's full-sized avatar

Ivan Yatskevich yatskevich

  • VictoriaMetrics Inc.
  • Amsterdam, The Netherlands
  • LinkedIn in/yatskevich
View GitHub Profile
@yatskevich
yatskevich / vs-bash-console.bat
Last active February 1, 2023 03:58 — forked from timabell/vs-bash-console.bat
batch script for loading git-bash and the vs tools in the same window
@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