[Pkg-ocaml-maint-commits] r5452 - /trunk/projects/git-guide/notes.mdwn

zack at users.alioth.debian.org zack at users.alioth.debian.org
Wed Apr 9 08:09:47 UTC 2008


Author: zack
Date: Wed Apr  9 08:09:47 2008
New Revision: 5452

URL: http://svn.debian.org/wsvn/?sc=1&rev=5452
Log:
better way of setting user name/email, tnx to Julien

Modified:
    trunk/projects/git-guide/notes.mdwn

Modified: trunk/projects/git-guide/notes.mdwn
URL: http://svn.debian.org/wsvn/trunk/projects/git-guide/notes.mdwn?rev=5452&op=diff
==============================================================================
--- trunk/projects/git-guide/notes.mdwn (original)
+++ trunk/projects/git-guide/notes.mdwn Wed Apr  9 08:09:47 2008
@@ -9,9 +9,9 @@
 with git. The given information will be used to set the author/comitter
 information by git:
 
-    $ grep GIT_ .bashrc 
-    export GIT_AUTHOR_NAME="Stefano Zacchiroli"
-    export GIT_AUTHOR_EMAIL="zack at upsilon.cc"
+    $ git config user.email zack at upsilon.cc
+    $ git config user.name "Stefano Zacchiroli"
+    # user.name is optional, by default git will get it from /etc/passwd
 
 This way the "Author" line in your commits will be something like:
 




More information about the Pkg-ocaml-maint-commits mailing list