Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k points)

SVN's log has a "-v" mode that outputs filenames of files changed in each commit, like so:

chandr1$ svn log -v


r1 |   chandr1 | 2019-07-10 14:39:41 -0800 (Wed, 10 Jul 2019) | 1 line

Changed paths:



   A /ChangeLog



   A /MacOSX

Is there a quick way to get a list of changed files in each commit in git?

1 Answer

0 votes
by (50.2k points)

To get git log file names you can use the following commands

For full path names of the changed file

git log --name-only


For full path names and status of changed files

git log --name-status 


For abbreviated path names and a diffstat of changed files:

git log --stat


Related questions

Browse Categories