We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb1379 commit d155ea0Copy full SHA for d155ea0
README.md
@@ -168,6 +168,12 @@ git ls-tree --name-only -r <commit-ish>
168
git update-ref -d HEAD
169
```
170
171
+
172
+__Alternatives:__
173
+```sh
174
+git reset --hard HEAD
175
+```
176
177
## List all the conflicted files
178
```sh
179
git diff --name-only --diff-filter=U
tips.json
@@ -12,7 +12,8 @@
12
"tip": "git ls-tree --name-only -r <commit-ish>"
13
}, {
14
"title": "Git reset first commit",
15
- "tip": "git update-ref -d HEAD"
+ "tip": "git update-ref -d HEAD",
16
+ "alternatives": ["git reset --hard HEAD"]
17
18
"title": "List all the conflicted files",
19
"tip": "git diff --name-only --diff-filter=U"
0 commit comments