git diff --numstat

Category: Git - Core

git diff --numstat

Show numeric add and delete counts per file

The numstat format is a machine-friendly diff summary with tab-separated added, deleted, and filename columns. Scripts use it to compute churn or estimate review size. Binary files show a dash in both count columns.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.