1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/diffstat.md

13 lines
333 B
Markdown
Raw Normal View History

# diffstat
> Create a histogram from the output of the `diff` command.
2021-04-17 17:15:37 +02:00
> More information: <https://manned.org/diffstat>.
- Display changes in a histogram:
`diff {{path/to/file1}} {{path/to/file2}} | diffstat`
- Display inserted, deleted and modified changes as a table:
`diff {{path/to/file1}} {{path/to/file2}} | diffstat -t`