mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 20:35:26 +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
|
@ -4,4 +4,12 @@
|
|||
|
||||
- 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