Changed for the number of file changes in a commit

advertisements

Is there a switch I can give git log to see the number of files changes in commits?


An example :

git log --oneline --shortstat -n

or, alternatively using git whatchanged

git whatchanged --oneline -n

where n is the number of commits in history you want to see.