Restore all files in both the index and working tree from HEAD.
This discards all staged and unstaged changes.
await git.restoreAllFromHead() Copy
await git.restoreAllFromHead()
0.3.0
Restore all files in both the index and working tree from HEAD.
This discards all staged and unstaged changes.