diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index 8e42a38..e8600d3 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -482,7 +482,7 @@ class GitCommandManager {
   }
 
   async tryReset(): Promise<boolean> {
-    const output = await this.execGit(['reset', '--hard', 'HEAD'], true)
+    const output = await this.execGit(['reset', '--hard', 'HEAD', '--'], true)
     return output.exitCode === 0
   }