From f56666789da4e2281bcab31c4585e3d3cdf5faf0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 Aug 2013 14:15:48 +0200 Subject: identify yourself MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- using-git.texinfo | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'using-git.texinfo') diff --git a/using-git.texinfo b/using-git.texinfo index b20677a..2f4f1dd 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -65,6 +65,7 @@ Texts. A copy of the license is included in the section entitled @chapter Getting started @menu +* Identify yourself:: * Create a repository:: * Create an origin:: * Gratis hosting:: @@ -73,6 +74,30 @@ Texts. A copy of the license is included in the section entitled +@node Identify yourself +@section Identify yourself + +The first thing you want to do right off the bat +is to identify yourself: add your name and e-mail +address to your Git configurations. This is +done with two simple commands: + +@example +git config --global user.name 'YOUR NAME' +git config --global user.email 'YOUR_EMAIL_ADDRESS' +@end example + +It is possible to sign your work with GPG. If you +are planning on doing this, and doing this with +another GPG key then your default key, you can +configure Git to using another key by default: + +@example +git configre --global user.signingkey YOUR_GPG_KEY_ID +@end example + + + @node Create a repository @section Create a repository -- cgit v1.2.3-70-g09d2