Documentation for Simbo's Packages
    Preparing search index...

    Function createGitFixture

    • Creates a temporary Git repository, optionally with an initial commit.

      The repository and all of its Git commands use a neutral configuration: global and system configurations are ignored, Git does not search for repositories above the temporary directory, and author, committer, and dates are fixed.

      Parameters

      Returns Promise<GitFixture>

      The fixture.

      if Git fails; the directory is removed then.