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

Broken alignment in git-reset docs

From
PSPaweł Samoraj <samoraj.pawel@gmail.com>
Date
Nov 28, 2018, 11:40 UTC
Message-ID
<CAJjcwZ-bjCVbsXhyRtQHsH9U+yytbRvq07j4hTOnuD-g0XXL0w@mail.gmail.com>

Hi! The git-reset documentation page section which is accessible via URL https://git-scm.com/docs/git-reset#_discussion is not looking good.

ASCII tables should look like this:
      working index HEAD target         working index HEAD
      ----------------------------------------------------
       A       B     C    D     --soft      A       B     D
                                     --mixed   A       D     D
                                     --hard     D       D     D
                                     --merge (disallowed)
                                     --keep  (disallowed)
but are like this:
  working index HEAD target         working index HEAD
  ----------------------------------------------------
   A       B     C    D     --soft   A       B     D
--mixed  A       D     D
--hard   D       D     D
--merge (disallowed)
--keep  (disallowed)

The web archive has got a snapshot from 2014-06-28 when it was ok (https://web.archive.org/web/20140628170155/http://git-scm.com/docs/git-reset).

Next: Martin Ågren
Message 1 of 7 in “Broken alignment in git-reset docs”
  1. Paweł SamorajNov 28, 2018
  2. Martin ÅgrenNov 28, 2018
  3. 0/2 Re: Broken alignment in git-reset docsMartin Ågren, Nov 28, 2018
  4. 1/2 git-reset.txt: render tables correctly under AsciidoctorMartin Ågren, Nov 28, 2018
  5. Ævar Arnfjörð BjarmasonNov 28, 2018
  6. Martin ÅgrenNov 28, 2018
  7. 2/2 git-reset.txt: render literal examples as monospaceMartin Ågren, Nov 28, 2018

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.