mirror of
https://github.com/actions/checkout.git
synced 2026-08-22 08:22:52 +00:00
Merge 771ed93a21a7177273819c979931cbd222039466 into f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a
This commit is contained in:
commit
6817758bad
@ -593,7 +593,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