This commit is contained in:
Steve Bourassa 2023-10-17 23:18:41 +02:00 committed by GitHub
commit 67eed28c77
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
}