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

zack at users.alioth.debian.org zack at users.alioth.debian.org
Wed Apr 9 07:50:24 UTC 2008


Author: zack
Date: Wed Apr  9 07:50:23 2008
New Revision: 5451

URL: http://svn.debian.org/wsvn/?sc=1&rev=5451
Log:
document the environment variable to set Author properly

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=5451&op=diff
==============================================================================
--- trunk/projects/git-guide/notes.mdwn (original)
+++ trunk/projects/git-guide/notes.mdwn Wed Apr  9 07:50:23 2008
@@ -1,3 +1,27 @@
+
+Configuration
+=============
+
+Per-user configuration
+----------------------
+
+Each committer should define a couple of shell variables to identify herself
+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"
+
+This way the "Author" line in your commits will be something like:
+
+    $ git log | grep Author -B 1
+    <snip>
+    commit 61521da701a50ad6a82356a61fab17a4694bb7b5
+    Author: Stefano Zacchiroli <zack at upsilon.cc>
+
+Common action recipes
+=====================
 
 Examples using the "dose2" package.
 




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