mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 02:55:41 +02:00
Merge pull request #184 from mateu-aguilo-bosch/git-diff-name-only
Expand git-diff page
This commit is contained in:
commit
dc6a324b6a
1 changed files with 9 additions and 1 deletions
|
@ -5,3 +5,11 @@
|
||||||
- Show changes to tracked files
|
- Show changes to tracked files
|
||||||
|
|
||||||
`git diff {{PATHSPEC}}`
|
`git diff {{PATHSPEC}}`
|
||||||
|
|
||||||
|
- Show only names of changed files.
|
||||||
|
|
||||||
|
`git diff --names-only {{PATHSPEC}}`
|
||||||
|
|
||||||
|
- Output a condensed summary of extended header information.
|
||||||
|
|
||||||
|
`git diff --summary {{PATHSPEC}}`
|
Loading…
Add table
Reference in a new issue