git diff-files
Compare files using their sha1 hashes and modes. More information: https://git-scm.com/docs/git-diff-files.
-
Compare all changed files:
git diff-files
-
Compare only specified files:
git diff-files {{path/to/file}}
-
Show only the names of changed files:
git diff-files --name-only
-
Output a summary of extended header information:
git diff-files --summary
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.