X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Ftutorial.txt;h=fa79b016c77a7f37ae1e289eb42bb008174eda81;hb=975bf9cf5ad5d440f98f464ae8124609a4835ce1;hp=66680d76bd8bc196bbbfdf98923b6be6354dea0d;hpb=36b5b3c65948694d9a92de5a17f2b97c3cd84879;p=git.git diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 66680d76..fa79b016 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