git-show: improve --stat, add --summary

beep
Waldir Pimenta 2020-10-27 12:31:35 +00:00 committed by Starbeamrainbowlabs
parent 0f502c4f54
commit c91bb1b19c
1 changed files with 5 additions and 1 deletions

View File

@ -23,10 +23,14 @@
`git show --oneline -s {{commit}}`
- Show only the list of the files changed in a commit:
- Show only statistics (added/removed characters) about the changed files:
`git show --stat {{commit}}`
- Show only the list of added, renamed or deleted files:
`git show --summary {{commit}}`
- Show the contents of a file as it was at a given revision (e.g. branch, tag or commit):
`git show {{revision}}:{{path/to/file}}`