mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 15:56:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,13 +12,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git show`
|
||||
|
||||
- Show information about a given commit:
|
||||
- Show information about a specific commit, tag, or branch (such as `HEAD` for the latest commit):
|
||||
|
||||
`git show {{commit}}`
|
||||
|
||||
- Show information about the commit associated with a given tag:
|
||||
|
||||
`git show {{tag}}`
|
||||
`git show {{commit|tag|branch}}`
|
||||
|
||||
- Show information about the 3rd commit from the HEAD of a branch:
|
||||
|
||||
@@ -32,6 +28,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git show --stat {{commit}}`
|
||||
|
||||
- Show a simplified list of all files changed in a commit (modified, added, and deleted):
|
||||
|
||||
`git show --name-only {{commit}}`
|
||||
|
||||
- Show only the list of added, renamed or deleted files:
|
||||
|
||||
`git show --summary {{commit}}`
|
||||
|
||||
Reference in New Issue
Block a user