Documentation
    Preparing search index...

    Runs git in a working tree.

    Index
    • Parameters

      • cwd: string

      Returns Git

    cwd: string
    • Whether anything in path changed between since and HEAD.

      Parameters

      • since: string
      • path: string

      Returns boolean

    • Parameters

      • name: string

      Returns boolean

    • Returns boolean

    • The non-empty lines of the messages of commits to path, oldest first.

      Parameters

      • path: string
      • Optionalsince: string | null

        Only include commits after this one, rather than all of them.

      Returns string[]

    • Run git, returning its output. Its errors are shown as they happen.

      Parameters

      • ...args: string[]

      Returns string

    • Run git on the terminal, such as with a pager.

      Parameters

      • ...args: string[]

      Returns void

    • The tags matching pattern, by version.

      Parameters

      • pattern: string
      • order: "ascending" | "descending" = 'ascending'

      Returns string[]

    • Whether git succeeds, for commands that answer with their exit status.

      Parameters

      • ...args: string[]

      Returns boolean