• get information about commits between two commits (both ends inclusive)

    Parameters

    • params: { cwd?: string | URL; files?: string[]; since?: string; until?: string }
      • Optionalcwd?: string | URL

        override the current working directory

      • Optionalfiles?: string[]

        only include commits that modified these files

      • Optionalsince?: string

        starting point for the diff

      • Optionaluntil?: string

        ending point for the diff

        'HEAD'
        

    Returns Promise<CommitInfo[]>

    list of commits, in reverse chronological order