diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-23 15:33:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-09 13:58:17 +0000 |
commit | 2439445b1657023a613ef430f0366401dabdea38 (patch) | |
tree | b23d9797c8a3312668fc4ce854c5586e8def8114 /documentation | |
parent | 18b9d46d314fbe77f620b63951220cbc059b9c59 (diff) | |
download | poky-2439445b1657023a613ef430f0366401dabdea38.tar.gz |
contributor-guide/submit-changes.rst: suggest to remove the git signature
By default when sending patches Git adds the git version at the bottom
of the patch, which is not necessary in most cases. Suggest to remove it
when configuring Git when sending patches.
Suggested-By: Jaekyu Lee <jaekyu.lee@lge.com>
(From yocto-docs rev: d3465691231f10466703198a831a681803ffdfad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/contributor-guide/submit-changes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/contributor-guide/submit-changes.rst b/documentation/contributor-guide/submit-changes.rst index 7dc8da7aeb..85ca987df2 100644 --- a/documentation/contributor-guide/submit-changes.rst +++ b/documentation/contributor-guide/submit-changes.rst | |||
@@ -65,6 +65,13 @@ use to identify your commits:: | |||
65 | git config --global user.name "Ada Lovelace" | 65 | git config --global user.name "Ada Lovelace" |
66 | git config --global user.email "ada.lovelace@gmail.com" | 66 | git config --global user.email "ada.lovelace@gmail.com" |
67 | 67 | ||
68 | By default, Git adds a signature line at the end of patches containing the Git | ||
69 | version. We suggest to remove it as it doesn't add useful information. | ||
70 | |||
71 | Remove it with the following command:: | ||
72 | |||
73 | git config --global format.signature "" | ||
74 | |||
68 | Clone the Git repository for the component to modify | 75 | Clone the Git repository for the component to modify |
69 | ---------------------------------------------------- | 76 | ---------------------------------------------------- |
70 | 77 | ||