Function getChanges

  • Gets file paths with changes between the current branch and the given branch. Throws an error on failure.

    Parameters

    • branch: string
    • cwd: string

    Returns string[]

    An array of relative file paths that have changed

    Deprecated

    Use getBranchChanges({ branch, cwd })