1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 05:15:25 +02:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: