summaryrefslogtreecommitdiffstats
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-05 11:50:24 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-05 11:50:24 -0800
commit87ce294c9129879f717f8749cae1c659e18a3823 (patch)
tree7bda83efef0ee677e4e743954bc00bdcf6a63874 /Documentation/git-format-patch.txt
parentGIT 0.99.9c (diff)
parentgit-clone: fix local clone (diff)
downloadgit-0.99.9d.tar.gz
git-0.99.9d.zip
GIT 0.99.9dv0.99.9d
This is primarily to include the 'git clone -l' (without -s) fix, first spotted and diagnosed by Linus and caused James Bottomley's repository to become unreadable. It also contains documentation updates happened on the "master" branch since 0.99.9c Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r--Documentation/git-format-patch.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index f3ef4c1e04..7a3abec02e 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -59,6 +59,26 @@ OPTIONS
standard output, instead of saving them into a file per
patch and implies --mbox.
+
+EXAMPLES
+--------
+
+git-format-patch -k --stdout R1..R2 | git-am -3 -k::
+ Extract commits between revisions R1 and R2, and apply
+ them on top of the current branch using `git-am` to
+ cherry-pick them.
+
+git-format-patch origin::
+ Extract commits the current branch accumulated since it
+ pulled from origin the last time in a patch form for
+ e-mail submission.
+
+
+See Also
+--------
+gitlink:git-am[1], gitlink:git-send-email
+
+
Author
------
Written by Junio C Hamano <junkio@cox.net>