Compare commits

...

2 Commits

View File

@ -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
}