442442< div id ="header ">
443443< h1 > Submitting Patches</ h1 >
444444< div class ="details ">
445- < span id ="revdate "> 2024-10-06 </ span >
445+ < span id ="revdate "> 2024-10-10 </ span >
446446</ div >
447447</ div >
448448< div id ="content ">
@@ -487,7 +487,7 @@ <h3 id="patch-flow">A typical life cycle of a patch series</h3>
487487you are touching. These people happen to be the ones who are
488488most likely to be knowledgeable enough to help you, but
489489they have no obligation to help you (i.e. you ask them for help,
490- you don’t demand). < code > git log -p -- < em > $area_you_are_modifying</ em > </ code > would
490+ you don’t demand). < code > git</ code > < code > log</ code > < code > -p </ code > -- < code > < em > $area_you_are_modifying</ em > </ code > would
491491help you find out who they are.</ p >
492492</ div >
493493</ li >
@@ -574,8 +574,8 @@ <h3 id="choose-starting-point">Choose a starting point.</h3>
574574contributors. Topic branches are created by the Git maintainer (in
575575their fork) to organize the current set of incoming contributions on
576576the mailing list, and are itemized in the regular "What’s cooking in
577- git.git" announcements. To find the tip of a topic branch, run < code > git log
578- --first-parent master.. seen</ code > and look for the merge commit. The second
577+ git.git" announcements. To find the tip of a topic branch, run < code > git</ code > < code > log</ code >
578+ < code > --first-parent</ code > < code > master</ code > < code > .. </ code > < code > seen</ code > and look for the merge commit. The second
579579parent of this commit is the tip of the topic branch.</ p >
580580</ div >
581581< div class ="paragraph ">
@@ -608,7 +608,7 @@ <h3 id="choose-starting-point">Choose a starting point.</h3>
608608< td class ="content ">
609609In exceptional cases, a bug that was introduced in an old
610610version may have to be fixed for users of releases that are much older
611- than the recent releases. < code > git describe --contains X</ code > may describe
611+ than the recent releases. < code > git</ code > < code > describe</ code > < code > --contains</ code > < code > X</ code > may describe
612612< code > X</ code > as < code > v2.30.0-rc2-gXXXXXX</ code > for the commit < code > X</ code > that introduced the
613613bug, and the bug may be so high-impact that we may need to issue a new
614614maintenance release for Git 2.30.x series, when "Git 2.41.0" is the
@@ -730,7 +730,7 @@ <h3 id="separate-commits">Make separate commits for logically separate changes.<
730730< p > Oh, another thing. We are picky about whitespaces. Make sure your
731731changes do not trigger errors with the sample pre-commit hook shipped
732732in < code > templates/hooks--pre-commit</ code > . To help ensure this does not happen,
733- run < code > git diff --check</ code > on your changes before you commit.</ p >
733+ run < code > git</ code > < code > diff</ code > < code > --check</ code > on your changes before you commit.</ p >
734734</ div >
735735</ div >
736736< div class ="sect2 ">
@@ -791,7 +791,7 @@ <h3 id="describe-changes">Describe your changes well.</h3>
791791</ ul >
792792</ div >
793793< div class ="paragraph ">
794- < p > If in doubt which identifier to use, run < code > git log --no-merges</ code > on the
794+ < p > If in doubt which identifier to use, run < code > git</ code > < code > log</ code > < code > --no-merges</ code > on the
795795files you are modifying to see the current conventions.</ p >
796796</ div >
797797< div id ="summary-section " class ="paragraph ">
@@ -871,7 +871,7 @@ <h3 id="describe-changes">Describe your changes well.</h3>
871871< div class ="paragraph ">
872872< p > The "Copy commit reference" command of gitk can be used to obtain this
873873format (with the subject enclosed in a pair of double-quotes), or this
874- invocation of < code > git show</ code > :</ p >
874+ invocation of < code > git</ code > < code > show</ code > :</ p >
875875</ div >
876876< div class ="literalblock ">
877877< div class ="content ">
@@ -1022,8 +1022,8 @@ <h3 id="git-tools">Generate your patch using Git tools out of your commits.</h3>
10221022< p > Git based diff tools generate unidiff which is the preferred format.</ p >
10231023</ div >
10241024< div class ="paragraph ">
1025- < p > You do not have to be afraid to use < code > -M</ code > option to < code > git diff</ code > or
1026- < code > git format-patch</ code > , if your patch involves file renames. The
1025+ < p > You do not have to be afraid to use < code > -M</ code > option to < code > git</ code > < code > diff</ code > or
1026+ < code > git</ code > < code > format-patch</ code > , if your patch involves file renames. The
10271027receiving end can handle them just fine.</ p >
10281028</ div >
10291029< div id ="review-patch " class ="paragraph ">
@@ -1168,7 +1168,7 @@ <h4 id="_format_patch_and_send_email"><code>format-patch</code> and <code>send-e
11681168previously sent.</ p >
11691169</ div >
11701170< div class ="paragraph ">
1171- < p > The < code > git format-patch</ code > command follows the best current practice to
1171+ < p > The < code > git</ code > < code > format-patch</ code > command follows the best current practice to
11721172format the body of an e-mail message. At the beginning of the
11731173patch should come your commit message, ending with the
11741174< code > Signed-off-by</ code > trailers, and a line that consists of three dashes,
@@ -1177,9 +1177,9 @@ <h4 id="_format_patch_and_send_email"><code>format-patch</code> and <code>send-e
11771177the beginning of the e-mail message just before the commit
11781178message starts, you can put a "From: " line to name that person.
11791179To change the default "[PATCH]" in the subject to "[<text>]", use
1180- < code > git format-patch --subject-prefix=<text></ code > . As a shortcut, you
1181- can use < code > --rfc</ code > instead of < code > --subject-prefix="RFC PATCH" </ code > , or
1182- < code > -v <n></ code > instead of < code > --subject-prefix="PATCH v <n>" </ code > .</ p >
1180+ < code > git</ code > < code > format-patch</ code > < code > --subject-prefix=</ code > < em > <text></ em > . As a shortcut, you
1181+ can use < code > --rfc</ code > instead of < code > --subject-prefix=</ code > "RFC < code > PATCH</ code > " , or
1182+ < code > -v</ code > < em > <n></ em > instead of < code > --subject-prefix=</ code > "PATCH < code > v </ code > < em > <n></ em > " .</ p >
11831183</ div >
11841184< div class ="paragraph ">
11851185< p > You often want to add additional explanation about the patch,
@@ -1188,7 +1188,7 @@ <h4 id="_format_patch_and_send_email"><code>format-patch</code> and <code>send-e
11881188patches requiring multiple iterations of review and discussion,
11891189an explanation of changes between each iteration can be kept in
11901190Git-notes and inserted automatically following the three-dash
1191- line via < code > git format-patch --notes</ code > .</ p >
1191+ line via < code > git</ code > < code > format-patch</ code > < code > --notes</ code > .</ p >
11921192</ div >
11931193< div id ="the-topic-summary " class ="paragraph ">
11941194< p > < strong > This is EXPERIMENTAL</ strong > .</ p >
@@ -1229,7 +1229,7 @@ <h4 id="_format_patch_and_send_email"><code>format-patch</code> and <code>send-e
12291229< div class ="paragraph ">
12301230< p > If you really really really really want to do a PGP signed
12311231patch, format it as "multipart/signed", not a text/plain message
1232- that starts with < code > -----BEGIN PGP SIGNED MESSAGE-----</ code > . That is
1232+ that starts with < code > -----BEGIN</ code > < code > PGP</ code > < code > SIGNED</ code > < code > MESSAGE-----</ code > . That is
12331233not a text/plain, it’s something else.</ p >
12341234</ div >
12351235</ div >
@@ -1440,7 +1440,7 @@ <h2 id="_github_ci">GitHub CI<a id="GHCI"></a></h2>
14401440< div class ="paragraph ">
14411441< p > After the initial setup, CI will run whenever you push new changes
14421442to your fork of Git on GitHub. You can monitor the test state of all your
1443- branches here: < code > https://github.com/<Your GitHub handle>/git/actions/workflows/main.yml</ code > </ p >
1443+ branches here: < code > https://github.com/</ code > <Your < code > GitHub</ code > < code > handle</ code > >< code > /git/actions/workflows/main.yml</ code > </ p >
14441444</ div >
14451445< div class ="paragraph ">
14461446< p > If a branch does not pass all test cases then it will be marked with a
@@ -1550,11 +1550,11 @@ <h3 id="_thunderbird_kmail_gmail">Thunderbird, KMail, GMail</h3>
15501550< div class ="sect2 ">
15511551< h3 id ="_gnus "> Gnus</ h3 >
15521552< div class ="paragraph ">
1553- < p > "|" in the < code > *Summary*</ code > buffer can be used to pipe the current
1553+ < p > "|" in the *Summary* buffer can be used to pipe the current
15541554message to an external program, and this is a handy way to drive
1555- < code > git am</ code > . However, if the message is MIME encoded, what is
1555+ < code > git</ code > < code > am</ code > . However, if the message is MIME encoded, what is
15561556piped into the program is the representation you see in your
1557- < code > *Article*</ code > buffer after unwrapping MIME. This is often not what
1557+ *Article* buffer after unwrapping MIME. This is often not what
15581558you would want for two reasons. It tends to screw up non-ASCII
15591559characters (most notably in people’s names), and also
15601560whitespaces (fatal in patches). Running "C-u g" to display the
0 commit comments