Merge 771ed93a21a7177273819c979931cbd222039466 into 9a9194f87191a7e9055e3e9b95b8cfb13023bb08
This commit is contained in:
commit
8ec77f2974
@ -482,7 +482,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…
x
Reference in New Issue
Block a user