Last Updated: February 25, 2016
·
1.643K
· klj613

git diff stats / only list files

example:

git diff master...feature-y --stat

output:

foobar.ext |    5 +++++
1 file changed, 5 insertions(+)

example:

git diff master...feature-y --name-only

output:

foobar.ext

note:

  • this will list files changed / removed / added