Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does "Git help <command>" not launch html help in my browser, like it says it should?

I am really enjoying my time with git.

I'm operating on 2 machines with what I thought were pretty similar setups

On my Laptop

When I type "Git help SomeCommand" from the CLI, my laptop launches the html help in my browser and I am free to read up on whatever help element I asked about.

On my Desktop

The CLI responds as if is is going to do the same, but no browser is switched to and no help is launched

What can I do to get my help back on my desktop?

Note: I'm running the bash shell through console2, but this problem appears to affect the default bash shell run via the context menu in explorer just as much.

like image 424
Rory Becker Avatar asked Jul 22 '11 14:07

Rory Becker


1 Answers

I just recently had the same problem, browser wouldn't launch. I'm running Git 1.9.2.msysgit.0 on Windows 8.1. Default browser - Chrome.

None of the solutions above worked for me. But I simply went to the html file in the explorer, and double-clicked it. Windows then asked me what app to use to open it, and I chose chrome.

Now usual git commands work and open the help html files in Chrome.

like image 105
Levan Avatar answered Sep 28 '22 20:09

Levan