[git] fatal: HTML documentation is not provided by this distribution of git

Lawrence Velázquez larryv at macports.org
Thu Feb 5 08:49:49 PST 2015


On Feb 5, 2015, at 8:11 AM, Luc J. Bourhis <luc_j_bourhis at mac.com> wrote:

> "git help -w" returns
> 
> fatal: HTML documentation is not provided by this distribution of git
> 
> even though /opt/local/share/doc/git-doc has the HTML doc files and "port
> variants" list "[+]doc". It must be weird as Google did not return anything
> and scouring Macports mailing lists and bug reports did not either.

Are you sure you're executing /opt/local/bin/git and not /usr/bin/git?

    % /opt/local/bin/git help -w merge
    [Safari opens]
    % /usr/bin/git help -w merge
    fatal: HTML documentation is not provided by this distribution of git.
    %

Did you just install the git port? If so, try running `hash -r` to refresh your shell's command hash table, so that `git` refers to /opt/local/bin/git.

vq


More information about the macports-users mailing list