[FE training-materials-updates] kernel sources lab: configure git (email, name)

Michael Opdenacker michael.opdenacker at free-electrons.com
Sun Sep 29 16:20:18 CEST 2013

Repository : git://git.free-electrons.com/training-materials.git

On branch  : kernel-ng
Link       : http://git.free-electrons.com/training-materials/commit/?id=d6f46caaf537475e0017406c3bc1bc3802ba95ac


commit d6f46caaf537475e0017406c3bc1bc3802ba95ac
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Sun Sep 29 16:12:58 2013 +0200

    kernel sources lab: configure git (email, name)
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 .../kernel-sources-download.tex                    |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/labs/kernel-sources-download/kernel-sources-download.tex b/labs/kernel-sources-download/kernel-sources-download.tex
index 857a801..68eac7f 100644
--- a/labs/kernel-sources-download/kernel-sources-download.tex
+++ b/labs/kernel-sources-download/kernel-sources-download.tex
@@ -14,6 +14,20 @@ throughout the practical labs:
 sudo apt-get install git gitk git-email
+\section{Git configuration}
+After installing \code{git} on a new machine, the first thing to do is
+to let \code{git} know about your name and e-mail address:
+git config --global user.name ’My Name’
+git config --global user.email me at mydomain.net
+Such information will be stored in commits. It is important
+to configure it properly when the time comes to generate and 
+send patches, in particular.
 \section{Cloning the mainline Linux tree}
 To begin working with the Linux kernel sources, we need to clone its

More information about the training-materials-updates mailing list