]> git.ipfire.org Git - thirdparty/git.git/commit
MyFirstContribution: teach to use "format-patch --base=auto"
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Oct 2021 20:08:44 +0000 (13:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Oct 2021 21:03:11 +0000 (14:03 -0700)
commit0b45a41dc1bf973243935c1115b2a898fa89e6ef
tree396744b1b88ad3a6bff129e88a75a25dec9852da
parentaf6d1d602a8f64164b266364339c4e936d5bbc33
MyFirstContribution: teach to use "format-patch --base=auto"

Let's encourage first-time contributors to tell us what commit they
based their work on with the format-patch invocation.  As the
example already forks from origin/master and branch.autosetupmerge
by default records the upstream when the psuh branch was created, we
can use --base=auto for this.  Also, mention that the range of
commits can simply be given with `@{u}` if they are on the `psuh`
branch already.

As we are getting one more option on the command line, and spending
one paragraph each to explain them, let's reformat that part of the
description as a bulleted list.

Helped-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/MyFirstContribution.txt