useGit API
    Preparing search index...

    Function diffHead

    • Show changes between HEAD and the working tree.

      Parameters

      • this: useGit API
      • Optionalpaths: readonly string[]

        Optional paths to limit the diff output.

      Returns Promise<string>

      await git.diffHead()
      await git.diffHead(["README.md"])

      0.2.0