mirror of
https://gitea.com/actions/checkout.git
synced 2025-04-20 07:45:40 +08:00
Merge 771ed93a21a7177273819c979931cbd222039466 into b80ff79f1755d06ba70441c368a6fe801f5f3a62
This commit is contained in:
commit
e326f1da7b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user