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

Re: [PATCH v2] doc: use `man git` to teach users how to navigate the docs

From
Julia Evans <julia@jvns.ca>
Date
Oct 8, 2026, 15:09 UTC
Message-ID
<b121896e-03d9-498f-9fe3-6688c4ff4034@app.fastmail.com>
In-Reply-To
<xmqq4iex6zox.fsf@gitster.g>
On Wed, Oct 7, 2026, at 4:08 PM, Junio C Hamano wrote:
Show 15 quoted lines
> "Julia Evans" <julia@jvns.ca> writes:
>
>> - Removed 'cli' because (from my perspective as a user) it seems like
>>   something that's written for Git developers and not users, like
>>   with "Commands that support the enhanced option parser",
>>   how is a user supposed to know which commands support
>>   the enhanced parser? I think it makes sense as a guide to
>>   scripting Git but not for interactive use. Some of the bits on `diff`
>>   feel like they might belong in the `git diff` man page, not sure.
>
> Perhaps updating cli so that it does not give a false smell of
> getting written for a wrong audiences is a more productive
> direction, though?  I do not think there is any other document that
> tells users the simple "options first and then revs and then paths"
> rule, for example.

If at some time in the future we update `gitcli` I think it could make sense to put it back!

Show 24 quoted lines
>> - Removed "user-manual" because it's outdated. The chapter on
>>   "Sharing development with others" explains how to use
>>   `git format-patch` which is not how most people collaborate with
>>   git.
>
> Yes, the was written in a very early days, and by a person who
> worked in the Linux kernel circle.  I do not know about "not how
> most people" part, but I would agree that "many users do not use"
> would be a fair description of the modern world order.
>
>> - Once all the others were removed it seemed a bit out of place
>>   to mention `gitdatamodel`.
>
> Not limited to the issue of where `gitdatamodel` should fit, I think
> we probably should explain the goal of these change at a bit higher
> level.  The original intention to refer to these things very early
> in the documentation was to direct those readers who are not ready
> to go into the list of git subcommands to those "introductory" text
> and concepts guides, and encourage them to come back once they are
> equipped with basic concepts and workflows.  I do not know if that
> design actually helped or was harmful for the real-world learners,
> but if we are shuffling the material we present early by removing
> some and introducing others, we should explain what our overall
> design of the presentation order is, for example.

As we rebuild some of this intro material we can bring it back in. For example once we have a tutorial we're happy with I think it would make sense to suggest that folks read it to learn Git.

If you're asking what I intend the overall design of the presentation order to be, the goal is to bring the Git docs towards more of an "every page is page one" design https://everypageispageone.com/the-book/ where on most pages we don't expect or require the reader to have read any of the other documentation. So for the the most part there would be no "presentation order". We'd instead provide links to more context for people who are interested. This increased focus on linking is why I sent that patch to make the AsciiDoc links work better in the HTML docs.

I think this kind of "every page is page one" structure would be both easier to maintain and better matches what users want than a book like the user manual, so it's a win/win.

In some cases (like the tutorial) I think it would make sense to have an order, like "learn `git commit` before learning branching", but I think we should keep those sequences very short. Ideally we would be able to get feedback from folks learning Git from the tutorial to find out they would like to learn next.

Previous: Junio C Hamano
Message 18 of 18 in “[doc] Use `man git` to teach users how to navigate the docs”
  1. [doc] Use `man git` to teach users how to navigate the docsJulia Evans via GitGitGadget, Sep 28, 2026
  2. Ben KnobleSep 28, 2026
  3. Junio C HamanoSep 29, 2026
  4. Julia EvansSep 29, 2026
  5. Junio C HamanoSep 29, 2026
  6. Julia EvansSep 29, 2026
  7. Junio C HamanoSep 29, 2026
  8. doc: use `man git` to teach users how to navigate the docsJulia Evans via GitGitGadget, Oct 6, 2026
  9. D. Ben KnobleOct 6, 2026
  10. Kristoffer HaugsbakkOct 7, 2026
  11. Julia EvansOct 7, 2026
  12. Junio C HamanoOct 7, 2026
  13. Julia EvansOct 7, 2026
  14. Junio C HamanoOct 7, 2026
  15. Junio C HamanoOct 7, 2026
  16. Julia EvansOct 7, 2026
  17. Junio C HamanoOct 7, 2026
  18. Julia EvansOct 8, 2026

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.