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

Re: Now What?

From
Junio C Hamano <junkio@cox.net>
Date
Nov 3, 2005, 20:55 UTC
Message-ID
<7vll05e9j3.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<E1EXTw5-00063o-Gt@jdl.com>
Jon Loeliger <jdl@freescale.com> writes:
> Finally, a procedure or style question.  Should this
> write-up be in the form of a structured FAQ?  A stand-alone
> expository document?

Earlier I suggested bunch of unconnected Documentation/howto pages, but I'd like to take it back at least partially. I have two alternatives; I do not know which one I prefer more...

A table-of-contents (FAQ-list) with task-oriented categorization would help guide the users facing "Now What?" situation. It might start like this:

	It broke after you tried to ...
	* pull from remote
	  breakage #1 --> see this...
	  breakage #2 --> see that...
	  ...
        * checkout a branch
	  breakage #1 --> see this...
	  breakage #2 --> see that...
	  ...
and each breakage and solution would be a separate document.

If we go with this separate FAQ-list approach, I'd love to keep the result under Documentation/ hierarchy we ship as part of the source, but I suspect that building-up this kind of thing might be better suited to Wiki. I wonder if there is a Wiki whose document storage format is in asciidoc, and uses git as its revision control backend. Then we could let people update Wiki, and occasionally merge from there. We also should be able to push things back to Wiki, essentially treating Wiki as one of the repositories from the git side. Hmm...

The other alternative is to add "NOW WHAT" section to each man page. The idea is that "if the last command you ran was this command and if it did not do what you wanted it to do, here are its common failure modes and how you would recover from them". So the materials we covered during the failed pull/merge discussion would go to "NOW WHAT" section of git-pull(1), with perhaps git-merge(1) saying "See also".

We would want "EXAMPLES" section for all the major commands as suggested by Linus anyway, and going this way we _may_ be able to get away without coming up with the higher level problem categorization; the user would at least know what the last command he tried to use was already.

Previous: Junio C HamanoNext: Josef Weidendorfer
Message 17 of 20 in “Now What?”
  1. Jon LoeligerNov 3, 2005
  2. Chris ShoemakerNov 3, 2005
  3. Junio C HamanoNov 3, 2005
  4. Jon LoeligerNov 3, 2005
  5. Junio C HamanoNov 6, 2005
  6. Peter EriksenNov 3, 2005
  7. Junio C HamanoNov 3, 2005
  8. Daniel BarkalowNov 3, 2005
  9. Linus TorvaldsNov 3, 2005
  10. Junio C HamanoNov 3, 2005
  11. Peter EriksenNov 3, 2005
  12. Junio C HamanoNov 3, 2005
  13. Josef WeidendorferNov 3, 2005
  14. Daniel BarkalowNov 4, 2005
  15. Linus TorvaldsNov 3, 2005
  16. Junio C HamanoNov 3, 2005
  17. Junio C HamanoNov 3, 2005
  18. Josef WeidendorferNov 3, 2005
  19. Junio C HamanoNov 3, 2005
  20. Josef WeidendorferNov 3, 2005

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.