Skip to content

Instantly share code, notes, and snippets.

@aarmea
Last active August 29, 2015 14:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment