aboutsummaryrefslogtreecommitdiffstats
path: root/doc/git-howto.texi
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-22 15:11:25 +0200
committerDiego Biurrun <diego@biurrun.de>2012-07-23 23:56:22 +0200
commit816ff352a38ab644c43e2668501d14875912d333 (patch)
treec1f5e3a8ffe07314643fa490c329736dca09609e /doc/git-howto.texi
parent6c1ed454837ccaea0c1d848a9603877f5c1a3c97 (diff)
downloadffmpeg-816ff352a38ab644c43e2668501d14875912d333.tar.gz
doc: Add Git configuration section
Diffstat (limited to 'doc/git-howto.texi')
-rw-r--r--doc/git-howto.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/git-howto.texi b/doc/git-howto.texi
index 938e165c1b..51141157c1 100644
--- a/doc/git-howto.texi
+++ b/doc/git-howto.texi
@@ -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