We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git reset --hard
git reset HEAD --hard
1 parent 56ed619 commit af1363eCopy full SHA for af1363e
1 file changed
src/Commands/Discard.cs
@@ -46,7 +46,7 @@ public static async Task AllAsync(string repo, bool includeUntracked, bool inclu
46
await new Clean(repo, Models.CleanMode.OnlyIgnoredFiles).Use(log).ExecAsync().ConfigureAwait(false);
47
}
48
49
- await new Reset(repo, "HEAD", "--hard").Use(log).ExecAsync().ConfigureAwait(false);
+ await new Reset(repo, "", "--hard").Use(log).ExecAsync().ConfigureAwait(false);
50
51
52
/// <summary>
0 commit comments