aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-08 08:07:51 +0100
committerAnton Khirnov <anton@khirnov.net>2011-11-08 14:25:38 +0100
commit8a691dfdabc03b85255d9bd16337de737e5285c8 (patch)
tree61704930659f5db951d74f37e5068d27cd8e2189
parent83daced0a3e9a4419e94b06a2a4956884c84170c (diff)
downloadffmpeg-8a691dfdabc03b85255d9bd16337de737e5285c8.tar.gz
doc/git-howto: expand format-patch and send-email notes.
-rw-r--r--doc/git-howto.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/git-howto.txt b/doc/git-howto.txt
index ba377c99e0..036b567084 100644
--- a/doc/git-howto.txt
+++ b/doc/git-howto.txt
@@ -205,8 +205,19 @@ I. BASICS:
git format-patch <commit> [-o directory]
- will generate a set of patches out of the current branch starting from
- commit. By default the patches are created in the current directory.
+ will generate a set of patches for each commit between <commit> and
+ current HEAD. E.g.
+
+ git format-patch origin/master
+
+ will generate patches for all commits on current branch which are not
+ present in upstream.
+ A useful shortcut is also
+
+ git format-patch -n
+
+ which will generate patches from last n commits.
+ By default the patches are created in the current directory.
11. Sending patches for review
@@ -215,6 +226,8 @@ I. BASICS:
will send the patches created by git format-patch or directly generates
them. All the email fields can be configured in the global/local
configuration or overridden by command line.
+ Note that this tool must often be installed separately (e.g. git-email
+ package on Debian-based distros).
12. Pushing changes to remote trees