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="[EMAIL PROTECTED]"
+ $ git config user.email [EMAIL PROTECTED]
+ $ 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:
_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits