diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-23 15:33:06 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-09 08:41:04 -0800 |
commit | 7dee2d8918adabf4b6dfc303217eb2cc796f6ce1 (patch) | |
tree | 578755d1dad0d828181c1960f990fa200c3feb70 | |
parent | 62861c3f13d0c9ea19419a3af6fa91c0db759673 (diff) | |
download | poky-7dee2d8918adabf4b6dfc303217eb2cc796f6ce1.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: b3223f919e0445c0059cddf0ce02cb27f83582c3)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit d3465691231f10466703198a831a681803ffdfad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 a4e1a5a4d9..31d7ffd865 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 | ||