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:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the history of a particular file or directory, including differences:
|
||||
|
||||
`git log {{--patch|-p|-u}} {{path/to/file_or_directory}}`
|
||||
`git log {{-p|-u|--patch}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Show an overview of which file(s) changed in each commit:
|
||||
|
||||
@@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the last N number of commits from a certain author:
|
||||
|
||||
`git log {{--max-count|-n}} {{number}} --author "{{author}}"`
|
||||
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
|
||||
|
||||
- Show commits between two dates (yyyy-mm-dd):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user