doc: Add Git configuration section
authorDiego Biurrun <diego@biurrun.de>
Sun, 22 Jul 2012 13:11:25 +0000 (15:11 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 23 Jul 2012 21:56:22 +0000 (23:56 +0200)
doc/git-howto.texi

index 938e165..5114115 100644 (file)
@@ -258,6 +258,32 @@ git commit
 @end example
 
 
+@chapter Git configuration
+
+In order to simplify a few workflows, it is advisable to configure both
+your personal Git installation and your local Libav repository.
+
+@section Personal Git installation
+
+Add the following to your @file{~/.gitconfig} to help @command{git send-email}
+and @command{git format-patch} detect renames:
+
+@example
+[diff]
+        renames = copy
+@end example
+
+@section Repository configuration
+
+In order to have @command{git send-email} automatically send patches
+to the libav-devel mailing list, add the following stanza
+to @file{/path/to/libav/repository/.git/config}:
+
+@example
+[sendemail]
+        to = libav-devel@@libav.org
+@end example
+
 @chapter Libav specific
 
 @section Reverting broken commits