From 1c0c8e4b90c599c96bcd81251d57f1c1f0244938 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Mon, 23 Dec 2024 15:33:06 +0100 Subject: [PATCH] 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 (From yocto-docs rev: 05455e916b3c94a73b358ac4f4189cc66bec35f2) Signed-off-by: Antonin Godard (cherry picked from commit d3465691231f10466703198a831a681803ffdfad) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/contributor-guide/submit-changes.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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:: git config --global user.name "Ada Lovelace" git config --global user.email "ada.lovelace@gmail.com" +By default, Git adds a signature line at the end of patches containing the Git +version. We suggest to remove it as it doesn't add useful information. + +Remove it with the following command:: + + git config --global format.signature "" + Clone the Git repository for the component to modify ----------------------------------------------------