X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ftutorial.txt;h=fa79b016c77a7f37ae1e289eb42bb008174eda81;hb=71459c193d04870076efa0a387c317390b53e3e2;hp=66680d76bd8bc196bbbfdf98923b6be6354dea0d;hpb=dcc6e28f70574bf3756752f114b5119c5cb43375;p=git.git diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 66680d76b..fa79b016c 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -309,7 +309,7 @@ git diff HEAD^^ HEAD^ ------------------------------------- shows the difference between that previous state and the state two -commits ago. Also, HEAD~5 can be used as a shorthand for HEAD^^^^^, +commits ago. Also, HEAD~5 can be used as a shorthand for HEAD{caret}{caret}{caret}{caret}{caret}, and more generally HEAD~n can refer to the nth previous commit. Commits representing merges have more than one parent, and you can specify which parent to follow in that case; see