summaryrefslogtreecommitdiff
path: root/Documentation/git-cherry-pick.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-02 20:51:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-05-02 20:51:45 (GMT)
commitd274fc093cbdcddbf9aff5f79de4e9445f3363d7 (patch)
tree0abf168a8760bee8686a8836b4b29a366eab0118 /Documentation/git-cherry-pick.txt
parent1be65eda6a7018445ebdd9cfec4b1caab4db34ba (diff)
parent6cf378f0cbe7c7f944637892caeb9058c90a185a (diff)
downloadgit-d274fc093cbdcddbf9aff5f79de4e9445f3363d7.zip
git-d274fc093cbdcddbf9aff5f79de4e9445f3363d7.tar.gz
git-d274fc093cbdcddbf9aff5f79de4e9445f3363d7.tar.bz2
Merge branch 'jk/doc-asciidoc-inline-literal'
Our documentation was written for an ancient version of AsciiDoc, making the source not very readable. By Jeff King * jk/doc-asciidoc-inline-literal: docs: stop using asciidoc no-inline-literal
Diffstat (limited to 'Documentation/git-cherry-pick.txt')
-rw-r--r--Documentation/git-cherry-pick.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index 3d25a20..9f3dae6 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -149,7 +149,7 @@ EXAMPLES
Apply the changes introduced by all commits that are ancestors
of master but not of HEAD to produce new commits.
-`git cherry-pick master{tilde}4 master{tilde}2`::
+`git cherry-pick master~4 master~2`::
Apply the changes introduced by the fifth and third last
commits pointed to by master and create 2 new commits with
@@ -170,7 +170,7 @@ EXAMPLES
are in next but not HEAD to the current branch, creating a new
commit for each new change.
-`git rev-list --reverse master \-- README | git cherry-pick -n --stdin`::
+`git rev-list --reverse master -- README | git cherry-pick -n --stdin`::
Apply the changes introduced by all commits on the master
branch that touched README to the working tree and index,