mirror of
https://github.com/actions/checkout.git
synced 2025-12-09 14:15:22 +00:00
Merge 771ed93a21a7177273819c979931cbd222039466 into c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5
This commit is contained in:
commit
2b5b417b28
@ -589,7 +589,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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user