mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 06:06:00 +02:00
diffstat: add page (#1539)
This commit is contained in:
commit
a0e9916532
1 changed files with 11 additions and 0 deletions
11
pages/common/diffstat.md
Normal file
11
pages/common/diffstat.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# diffstat
|
||||
|
||||
> Create a histogram from the output of the `diff` command.
|
||||
|
||||
- Display changes in a histogram:
|
||||
|
||||
`diff {{file1}} {{file2}} | diffstat`
|
||||
|
||||
- Display inserted, deleted and modified changes as a table:
|
||||
|
||||
`diff {{file1}} {{file2}} | diffstat -t`
|
Loading…
Add table
Reference in a new issue