The git help
command on Windows (msysgit
distribution) spawns web browser each time I run it. I tried git help -m
which reports \"No
World's most overengineered workaround for this problem: use WSL
(that is, unless you already are a WSL user, in which case it's merely an ordinary workaround)
bash -c 'git help fetch'
etc.Here's an alias for that last one:
[alias]
hep = "!f() { $SYSTEMROOT/System32/bash -c \"git help $1\"; }; f"
(And no you can't override git built-ins, but you can make a shell command to intercept and reroute help
.)