diff --git a/README.md b/README.md index 23f936d..757ef31 100644 --- a/README.md +++ b/README.md @@ -334,7 +334,7 @@ git tag -d git push origin :refs/tags/ ``` -## Undo local changes with the last content in head +## Undo local changes with the content in index(staging) ```sh git checkout -- ``` diff --git a/tips.json b/tips.json index 5c38a63..d53d1ae 100644 --- a/tips.json +++ b/tips.json @@ -75,7 +75,7 @@ "title": "Delete remote tag", "tip": "git push origin :refs/tags/" }, { - "title": "Undo local changes with the last content in head", + "title": "Undo local changes with the content in index(staging)", "tip": "git checkout -- " }, { "title": "Revert: Undo a commit by creating a new commit",