We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8891620 commit a8f70a0Copy full SHA for a8f70a0
README.md
@@ -334,7 +334,7 @@ git tag -d <tag-name>
334
git push origin :refs/tags/<tag-name>
335
```
336
337
-## Undo local changes with the last content in head
+## Undo local changes with the content in index(staging)
338
```sh
339
git checkout -- <file_name>
340
tips.json
@@ -75,7 +75,7 @@
75
"title": "Delete remote tag",
76
"tip": "git push origin :refs/tags/<tag-name>"
77
}, {
78
- "title": "Undo local changes with the last content in head",
+ "title": "Undo local changes with the content in index(staging)",
79
"tip": "git checkout -- <file_name>"
80
81
"title": "Revert: Undo a commit by creating a new commit",
0 commit comments