Restore files in the working tree from the index.
await git.restoreWorktree("file.txt") Copy
await git.restoreWorktree("file.txt")
0.3.0
Restore files in the working tree from the index.