Skip to content

Instantly share code, notes, and snippets.

@aarmea
aarmea / bash.bat
Last active August 29, 2015 14:06
Invoke msysGit Bash anywhere
@ECHO OFF
@ Creates a msysGit Bash instance in your Windows shell session while keeping its environment variables.
@ Requires msysGit (obviously), which can be installed either from their website or through choco.
@ Put this file somewhere in your %PATH%, like C:\Windows\System32 (if you put it there, you'll also want it in C:\Windows\SysWOW64).
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i