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

Re: [PATCH 2/2] docs: demonstrate difference between 'am' and 'apply'

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 16, 2020, 22:04 UTC
Message-ID
<xmqqblh1akuh.fsf@gitster.c.googlers.com>
In-Reply-To
<20201016211327.GC3356073@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 19 quoted lines
> I think it is OK as-is, but it might be easier to follow visually with
> text like:
>
>    Here's a sample patch that we'll use below.
>
>    -----
>    $ cat the-patch, etc
>    -----
>
>
>    We can apply it with `git am`, which will create a new commit:
>
>    -----
>    $ git am ...etc...
>    -----
>
> Especially in the HTML version, which puts the code blocks into a box
> with a different backgrounds, that makes it easy to visually jump to
> each box without having to carefully read the contents.

I agree that presentation-wise the above style is much nicer to follow.

Previous: Jeff KingNext: Junio C Hamano
Message 4 of 14 in “some small clarifying docfixes”
  1. 0/2 some small clarifying docfixesEmily Shaffer, Oct 16, 2020
  2. 2/2 docs: demonstrate difference between 'am' and 'apply'Emily Shaffer, Oct 16, 2020
  3. Jeff KingOct 16, 2020
  4. Junio C HamanoOct 16, 2020
  5. Junio C HamanoOct 16, 2020
  6. Junio C HamanoOct 16, 2020
  7. Junio C HamanoOct 16, 2020
  8. Emily ShafferOct 22, 2020
  9. Junio C HamanoOct 23, 2020
  10. 1/2 MyFirstContribution: clarify asciidoc dependencyEmily Shaffer, Oct 16, 2020
  11. Junio C HamanoOct 16, 2020
  12. Taylor BlauOct 16, 2020
  13. Junio C HamanoOct 16, 2020
  14. Emily ShafferOct 22, 2020

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.