git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git --help not actually showing the git(1) help page..

From
Philip Oakley <philipoakley@iee.org>
Date
May 13, 2019, 21:55 UTC
Message-ID
<a0afd3c4-93ff-31e6-a622-5751c6b5a549@iee.org>
In-Reply-To
<20190513205301.GA22745@sigill.intra.peff.net>

Hi Peff On 13/05/2019 21:53, Jeff King wrote:

Show 11 quoted lines
> On Mon, May 13, 2019 at 09:47:27PM +0100, Philip Oakley wrote:
>
>> Is there a cli way, especially on Git for Windows bash, to get the html man
>> page of git(1)? I have it on my system, so can go via another page but..
>>
>> All the `git <cmd> --help` appear to work, but I can't determine the correct
>> invocation for bringing up the stupid content tracker's page in the browser.
>> Previously I'd have expected either `git --help` or `git git --help` to work
>> (can't remember which). The former only produces the short form -h help in
>> the bash window, the latter says 'git' isn't a command.
> Try "git help git".
Ahh, that's the one. I'd totally forgot about that method.
>
> It might be worth mentioning it in the paragraph at the end of "git
> help".

True. I'll stick on my todo list, along with adding to the general usage message. Possibly "Or `git help git`."

On GfW I commonly use the `git <cmd> --help` when things go wrong, so making the response to that give the right advice would be good. (It's almost the same isue as `git --version`).

> --
Philip
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 19 in “git --help not actually showing the git(1) help page..”
  1. Philip OakleyMay 13, 2019
  2. Jeff KingMay 13, 2019
  3. Philip OakleyMay 13, 2019
  4. Junio C HamanoMay 13, 2019
  5. Philip OakleyMay 14, 2019
  6. git.c: show usage for accessing the git(1) help pagePhilip Oakley, May 14, 2019
  7. Emily ShafferMay 15, 2019
  8. Jeff KingMay 15, 2019
  9. Philip OakleyMay 15, 2019
  10. git.c: show usage for accessing the git(1) help pagePhilip Oakley, May 15, 2019
  11. Eric SunshineMay 15, 2019
  12. 0/2 accessing the git(1) help pagePhilip Oakley, May 15, 2019
  13. 1/2 git.c: show usage for accessing the git(1) help pagePhilip Oakley, May 15, 2019
  14. 2/2 Doc: git.txt: remove backticks from link and add git-scm.com/docsPhilip Oakley, May 15, 2019
  15. Junio C HamanoMay 16, 2019
  16. Philip OakleyMay 16, 2019
  17. Jeff KingMay 16, 2019
  18. Philip OakleyMay 16, 2019
  19. Philip OakleyMay 15, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.