tldr/pages/common/diffstat.md

224 B

diffstat

Make histogram of diff-output

  • Display changes in a histogram:

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

  • Display inserted, deleted, modified changes in table format:

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