X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ftutorial.txt;h=554ee0af912368cb842d93c025e742daaf47f5f2;hb=2cda1a214e9d2e362242027b4b622ecb3d9260de;hp=db563127b236757de62be50a4e04439eddf2729e;hpb=f63237a18e951b93ac46a0e594f286255e1eaaaf;p=git.git diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index db563127b..554ee0af9 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -357,7 +357,7 @@ $ git diff v2.5 HEAD # compare the current HEAD to v2.5 $ git branch stable v2.5 # start a new branch named "stable" based # at v2.5 $ git reset --hard HEAD^ # reset your current branch and working - # directory its state at HEAD^ + # directory to its state at HEAD^ ------------------------------------- Be careful with that last command: in addition to losing any changes