mirror of https://github.com/actions/checkout
Compare commits
2 Commits
279ccb1e9f
...
b320b8c70e
| Author | SHA1 | Date |
|---|---|---|
|
|
b320b8c70e | |
|
|
771ed93a21 |
|
|
@ -593,7 +593,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…
Reference in New Issue