0

In short I want this:

git show --name-only <hash>

(How to list all the files in a commit?)

But I also want some indication of what kind of change it was, e.g. added, deleted, added/removed n lines, preferably still on a single line per file.

Community
  • 1
  • 1
oyvind
  • 1,429
  • 3
  • 14
  • 24

1 Answers1

1

git diff-tree <hash> --stat --summary

--stat shows the number of lines added/removed, while --summary explicitly shows added and deleted files.

oyvind
  • 1,429
  • 3
  • 14
  • 24