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.