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
There's a problem that you run into right away: you can't put a command line command, with arguments, | |
into the path to git executable box. | |
So putting something like bash.exe -c "git %*" isn't going to work. I wrote a small shell script that | |
fixes this, for both 32-bit and 64-bit systems. | |
@echo off | |
If %PROCESSOR_ARCHITECTURE% == x86 ( | |
"C:\Windows\sysnative\bash.exe" -c "git %*" | |
) Else ( |