From ddf49b9dce93f40cd5bc648d1ea61efe47c56f6c Mon Sep 17 00:00:00 2001 From: Adrian Pop <38863744+adipopbv@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:24:00 +0300 Subject: [PATCH] git-diff-files: add page (#6896) --- pages/common/git-diff-files.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/git-diff-files.md diff --git a/pages/common/git-diff-files.md b/pages/common/git-diff-files.md new file mode 100644 index 0000000000..bd2e1a0faf --- /dev/null +++ b/pages/common/git-diff-files.md @@ -0,0 +1,20 @@ +# git diff-files + +> Compare files using their sha1 hashes and modes. +> More information: . + +- 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`