diff --git a/gitcommands.go b/gitcommands.go index ee0fd9a33..668254cb8 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -117,7 +117,7 @@ func platformShell() (string, string) { if runtime.GOOS == "windows" { return "cmd", "/c" } - return "sh", "-c" + return "bash", "-c" } func runDirectCommand(command string) (string, error) {