mirror of https://github.com/actions/checkout
Compare commits
2 Commits
e93041f805
...
238e81f2a5
| Author | SHA1 | Date |
|---|---|---|
|
|
238e81f2a5 | |
|
|
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