summaryrefslogtreecommitdiffstats
path: root/documentation/contributor-guide
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-08-18 18:31:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-30 15:54:59 +0100
commit81f99caf9167874cfd684087a625b081ed154d67 (patch)
tree6b7a0729b2345c9aee9b56868f93c39f5f7f6e1e /documentation/contributor-guide
parentc6f0512d227dd5ae6ed5922263eb62a907b83dcd (diff)
downloadpoky-81f99caf9167874cfd684087a625b081ed154d67.tar.gz
contributor-guide: submit-changes: commit guidelines for recipes
Adding text currently on http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded (From yocto-docs rev: 716756045b75e64846421dcecdd044a06b88052a) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/contributor-guide')
-rw-r--r--documentation/contributor-guide/submit-changes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/contributor-guide/submit-changes.rst b/documentation/contributor-guide/submit-changes.rst
index 31674d313d..677885e3cf 100644
--- a/documentation/contributor-guide/submit-changes.rst
+++ b/documentation/contributor-guide/submit-changes.rst
@@ -101,6 +101,11 @@ corresponding to each of the patches you will eventually submit.
101See `further guidance <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes>`__ 101See `further guidance <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes>`__
102in the Linux kernel documentation if needed. 102in the Linux kernel documentation if needed.
103 103
104For example, when you intend to add multiple new recipes, each recipe
105should be added in a separate commit. For upgrades to existing recipes,
106the previous version should usually be deleted as part of the same commit
107to add the upgraded version.
108
104#. *Stage Your Changes:* Stage your changes by using the ``git add`` 109#. *Stage Your Changes:* Stage your changes by using the ``git add``
105 command on each file you modified. If you want to stage all the 110 command on each file you modified. If you want to stage all the
106 files you modified, you can even use the ``git add -A`` command. 111 files you modified, you can even use the ``git add -A`` command.