This commit is contained in:
Steve Bourassa 2023-10-15 20:06:20 -04:00 committed by GitHub
commit 57c942c100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,7 +471,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
}