mirror of
https://github.com/actions/checkout.git
synced 2026-01-24 07:51:28 +00:00
Merge 771ed93a21a7177273819c979931cbd222039466 into 0c366fd6a839edf440554fa01a7085ccba70ac98
This commit is contained in:
commit
0dd700013f
@ -587,7 +587,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