Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-08 00:14:59 +00:00
parent a812b3c467
commit f8bee5305f
111 changed files with 540 additions and 310 deletions

View File

@@ -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 {{-p|-u|--patch}} {{path/to/file_or_directory}}`
`git log {{[-p|--patch]}} {{path/to/file_or_directory}}`
- Show an overview of which file(s) changed in each commit:
@@ -30,11 +30,11 @@ source: https://github.com/tldr-pages/tldr.git
- Show only commits with messages that include a specific string, ignoring case:
`git log {{-i|--regexp-ignore-case}} --grep {{search_string}}`
`git log {{[-i|--regexp-ignore-case]}} --grep {{search_string}}`
- Show the last N number of commits from a certain author:
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
`git log {{[-n|--max-count]}} {{number}} --author "{{author}}"`
- Show commits between two dates (yyyy-mm-dd):