Function git

  • Runs git command - use this for read-only commands. gitFailFast is recommended for commands that make changes to the filesystem.

    The caller is responsible for validating the input. shell will always be set to false.

    Parameters

    • args: string[]
    • Optional options: SpawnSyncOptions

    Returns GitProcessOutput