Created
May 7, 2012 11:59
-
-
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
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 | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks!