useGit API
    Preparing search index...

    Function restoreAllFromHead

    • Restore all files in both the index and working tree from HEAD.

      This discards all staged and unstaged changes.

      Returns Promise<string>

      await git.restoreAllFromHead()
      

      0.3.0