From 2439445b1657023a613ef430f0366401dabdea38 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: d3465691231f10466703198a831a681803ffdfad) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- 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 ----------------------------------------------------