mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
doc: Add Git configuration section
This commit is contained in:
parent
6c1ed45483
commit
816ff352a3
@ -258,6 +258,32 @@ git commit
|
|||||||
@end example
|
@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
|
@chapter Libav specific
|
||||||
|
|
||||||
@section Reverting broken commits
|
@section Reverting broken commits
|
||||||
|
Loading…
Reference in New Issue
Block a user