mirror of
https://github.com/actions/checkout.git
synced 2026-01-22 00:28:54 +08:00
Merge 771ed93a21 into 0c366fd6a8
This commit is contained in:
commit
0dd700013f
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ class GitCommandManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
async tryReset(): Promise<boolean> {
|
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
|
return output.exitCode === 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue