From 111d75956cb01681de29b9819fda4dbbf2e98578 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Mon, 23 Dec 2024 15:33:06 +0100 Subject: 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: 8ce5875766008827de7bc9bcf8ee5417d557abcb) 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(+) (limited to 'documentation') 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 ---------------------------------------------------- -- cgit v1.2.3-54-g00ecf