useGit API
    Preparing search index...

    Function restoreWorktree

    • Restore files in the working tree from the index.

      Parameters

      • paths: string | string[]

      Returns Promise<string>

      await git.restoreWorktree("file.txt")
      

      0.3.0