How do I write a batch file which opens the GitBash shell and runs a command in the shell?

"C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c "git archive master | tar -x -C $0" "%~1"

Leave a Comment