X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-revert.txt;h=752fc88e768e4b8e1afddad4bdd7833cf20978c7;hb=5ce3258122939f93a927c75d308c1c34038f0386;hp=b7d9ef7e4726db40f3b0d1ec9474494bb6e07dcf;hpb=2850c1a882ff78e181d0e44b54b595e6b272a02b;p=git.git diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt index b7d9ef7e4..752fc88e7 100644 --- a/Documentation/git-revert.txt +++ b/Documentation/git-revert.txt @@ -31,7 +31,7 @@ OPTIONS ...:: Commits to revert. For a more complete list of ways to spell commit names, see - linkgit:gitrevisions[1]. + linkgit:gitrevisions[7]. Sets of commits can also be given but no traversal is done by default, see linkgit:git-rev-list[1] and its '--no-walk' option. @@ -87,7 +87,7 @@ git revert HEAD~3:: Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes. -git revert -n master\~5..master~2:: +git revert -n master{tilde}5..master{tilde}2:: Revert the changes done by commits from the fifth last commit in master (included) to the third last commit in master