Function getChangesBetweenRefs

  • Gets file paths with changes between two git references (commits, branches, tags). Throws an error on failure by default.

    Parameters

    • options: GetChangesBetweenRefsOptions

    Returns string[]

    An array of file paths that have changed

  • Parameters

    • fromRef: string
    • toRef: string
    • options: string[]
    • pattern: string
    • cwd: string

    Returns string[]

    Deprecated

    Use object param version