0
1
mirror of https://github.com/actions/checkout synced 2024-06-02 18:48:04 +02:00

Compare commits

...

2 Commits

View File

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