git-diff: Use --stat command instead of only names (#13502)

This commit is contained in:
jxu
2024-08-24 11:50:36 -04:00
committed by GitHub
parent a41cbc73b1
commit 3b96f7518b

View File

@@ -19,9 +19,9 @@
`git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'`
- Show only names of changed files since a given commit:
- Show diff statistics, like files changed, histogram, and total line insertions/deletions:
`git diff --name-only {{commit}}`
`git diff --stat {{commit}}`
- Output a summary of file creations, renames and mode changes since a given commit: