mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
git-show: change example (#23462)
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
|
||||
`git show --summary {{commit}}`
|
||||
|
||||
- Show information about the 3rd commit from the `HEAD` of a branch:
|
||||
- Ignore whitespace when comparing lines:
|
||||
|
||||
`git show {{branch}}~{{3}}`
|
||||
`git show {{[-w|--ignore-all-space]}}`
|
||||
|
||||
- Show a commit's message in a single line, suppressing the diff output:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user