diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-model.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-model.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 669623bc7f..4452d2a4e2 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml | |||
@@ -1705,7 +1705,7 @@ directory.</para></listitem> | |||
1705 | <literallayout class='monospaced'> | 1705 | <literallayout class='monospaced'> |
1706 | $ git init | 1706 | $ git init |
1707 | $ git add * | 1707 | $ git add * |
1708 | $ git commit | 1708 | $ git commit -m "initial revision" |
1709 | </literallayout> | 1709 | </literallayout> |
1710 | The above Git commands initialize a Git repository that is based on the | 1710 | The above Git commands initialize a Git repository that is based on the |
1711 | files in your current working directory, stage all the files, and commit | 1711 | files in your current working directory, stage all the files, and commit |
@@ -1762,9 +1762,9 @@ directory.</para></listitem> | |||
1762 | Once the changes are committed, use the <filename>git format-patch</filename> | 1762 | Once the changes are committed, use the <filename>git format-patch</filename> |
1763 | command to generate a patch file: | 1763 | command to generate a patch file: |
1764 | <literallayout class='monospaced'> | 1764 | <literallayout class='monospaced'> |
1765 | $ git format-patch HEAD~1 | 1765 | $ git format-patch -1 |
1766 | </literallayout> | 1766 | </literallayout> |
1767 | The <filename>HEAD~1</filename> part of the command causes Git to generate the | 1767 | Specifying "-1" causes Git to generate the |
1768 | patch file for the most recent commit.</para> | 1768 | patch file for the most recent commit.</para> |
1769 | <para>At this point, the patch file has all your edits made | 1769 | <para>At this point, the patch file has all your edits made |
1770 | to the <filename>file1.c</filename>, <filename>file2.c</filename>, and | 1770 | to the <filename>file1.c</filename>, <filename>file2.c</filename>, and |
@@ -1784,7 +1784,7 @@ directory.</para></listitem> | |||
1784 | of the recipe. | 1784 | of the recipe. |
1785 | Here is an example: | 1785 | Here is an example: |
1786 | <literallayout class='monospaced'> | 1786 | <literallayout class='monospaced'> |
1787 | SRC_URI += "file://my_changes.patch" | 1787 | SRC_URI += "file://0001-<commit-summary-message>.patch" |
1788 | </literallayout></para></listitem> | 1788 | </literallayout></para></listitem> |
1789 | <listitem><para><emphasis>Increment the Recipe Revision Number:</emphasis> | 1789 | <listitem><para><emphasis>Increment the Recipe Revision Number:</emphasis> |
1790 | Finally, don't forget to 'bump' the | 1790 | Finally, don't forget to 'bump' the |