Read an IDX file for a Git packfile and dump its contents to stdout

git show-index

  • Show the packed archive index of a Git repository.
    More information: <https://git-scm.com/docs/git-show-index>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git show-index {{path/to/file.idx}}

click the source code to copy install git show-index on any operating system with command-not-found.com