1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/common/diffstat.md
2021-04-19 23:05:51 +01:00

301 B

diffstat

Create a histogram from the output of the diff command. More information: https://manned.org/diffstat.

  • Display changes in a histogram:

diff {{file1}} {{file2}} | diffstat

  • Display inserted, deleted and modified changes as a table:

diff {{file1}} {{file2}} | diffstat -t