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

    Function git

    • Runs a Git command and returns its standard output as trimmed text.

      Parameters

      • args: readonly string[]

        The Git arguments.

      • options: GitOptions = {}

        Options for running the command.

      Returns Promise<string>

      The standard output as UTF-8 text without leading and trailing whitespace.

      if Git cannot be started, exits with a non-zero code, or exceeds maxBuffer.