mirror of
https://github.com/actions/checkout
synced 2024-06-02 18:48:04 +02:00
Compare commits
2 Commits
ca38b2e65d
...
015a78f7e3
Author | SHA1 | Date | |
---|---|---|---|
|
015a78f7e3 | ||
|
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
Block a user