Skip to content

Instantly share code, notes, and snippets.

@timabell
Created May 7, 2012 11:59
Show Gist options
  • Save timabell/2627409 to your computer and use it in GitHub Desktop.
Save timabell/2627409 to your computer and use it in GitHub Desktop.
batch script for loading git-bash and the vs tools in the same window
@echo off
REM batch script for loading git-bash and the vs tools in the same window
REM inspiration: http://www.drrandom.org/post/2011/11/16/Grappling-with-multiple-remotes-in-git-tfs.aspx
RME screenshot: https://twitter.com/#!/tim_abell/status/199474387731226624/photo/1
%HOMEDRIVE%
cd %HOMEPATH%
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
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 (x86)\Git\bin\sh.exe" --login -i
@sajivthomas
Copy link

thanks!

@Bigous
Copy link

Bigous commented Jul 28, 2016

Very useful - forked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment