diff --git a/pages/common/diffstat.md b/pages/common/diffstat.md new file mode 100644 index 000000000..7d0c87d27 --- /dev/null +++ b/pages/common/diffstat.md @@ -0,0 +1,11 @@ +# 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`