Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/git-diff-files Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`