Tuesday, May 28, 2013

[git] Show all changed files between two commits/branches

It is useful to see only the name of the files changed.
But $ git diff, will give you a line-by-line result of changes.

Here is how.
$ git diff --name-only SHA1 SHA2
or
$ git diff --name-only <branch_name>

But this will be better
$ git diff --name-status

Good luck!

References
[1] http://stackoverflow.com/questions/1552340/git-show-all-changed-files-between-two-commits

No comments:

Post a Comment