mirror of https://github.com/actions/checkout
Compare commits
2 Commits
ca38b2e65d
...
015a78f7e3
Author | SHA1 | Date |
---|---|---|
Steve Bourassa | 015a78f7e3 | |
Steve Bourassa | 771ed93a21 |
|
@ -480,7 +480,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