mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 07:42:07 +02:00
git-diff-files: add page (#6896)
This commit is contained in:
parent
318ca787e1
commit
ddf49b9dce
1 changed files with 20 additions and 0 deletions
20
pages/common/git-diff-files.md
Normal file
20
pages/common/git-diff-files.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue