mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 02:00:57 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git show {{commit|tag|branch}}`
|
||||
|
||||
- Show only the list of added, renamed or deleted files:
|
||||
|
||||
`git show --summary {{commit}}`
|
||||
|
||||
- Show information about the 3rd commit from the HEAD of a branch:
|
||||
|
||||
`git show {{branch}}~{{3}}`
|
||||
@@ -32,10 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git show --name-only {{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}}`
|
||||
|
||||
Reference in New Issue
Block a user