-1

I am working on a report which aims to have the following:

  1. Commit/Merge History - I can get these from "git log" and "git show commit-id"

  2. Files changed with the specific commit - These is something I am not sure how to get

Is there a way where I can generate this via script call so I can put them in a simple text file?

Thanks!

FerAtas
  • 1
  • 1

1 Answers1

1

You can use git diff-tree -r --name-only <commit-hash> to get list of modified files.

mugiseyebrows
  • 4,138
  • 1
  • 14
  • 15