We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 324643e + 442d880 commit e1b98f7Copy full SHA for e1b98f7
README.md
@@ -781,7 +781,7 @@ git clean -X -f
781
782
## Restore deleted file.
783
```sh
784
-git checkout <deleting_commit>^ -- <file_path>
+git checkout <deleting_commit> -- <file_path>
785
```
786
787
## Restore file to a specific commit-hash
tips.json
@@ -278,7 +278,7 @@
278
"tip": "git clean -X -f"
279
}, {
280
"title": "Restore deleted file.",
281
- "tip": "git checkout <deleting_commit>^ -- <file_path>"
+ "tip": "git checkout <deleting_commit> -- <file_path>"
282
283
"title": "Restore file to a specific commit-hash",
284
"tip": "git checkout <commit-ish> -- <file_path>"
0 commit comments