Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed git using cygwin. I then tried using git help status but I received the error fatal: '/usr/share/doc/git-doc': not a documentation directory. And indeed, there is no folder git-doc in /usr/share.

So I manually added the html folder in the right folder, and it now seems to work. However, the default web browser that is used to display the page is a console one (w3m.exe). I tried setting the value git config --global web.browser firefox, and even git config --global browser.firefox.path "C:\Program Files\Mozilla Firefox\firefox.exe", but it doesn't work. What should I do to run the html with firefox (except using the file manager) ?


share|improve this question

I suggest the following:

git config --global web.browser cygstart
git config --global browser.cygstart.cmd cygstart

This will make git use the Windows default browser (which hopefully in your case is Firefox) and handle all necessary path conversions. The cygstart command is part of the cygutils package.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.