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