Restore files in the index (staging area) to match HEAD.
await git.restoreStaged("file.txt") Copy
await git.restoreStaged("file.txt")
0.3.0
Restore files in the index (staging area) to match HEAD.