1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00
tldr/pages/common/git-diff-files.md
2021-10-21 15:24:00 +08:00

399 B

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