Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-05 00:21:02 +00:00
parent 968390f769
commit e452860d9b
156 changed files with 258 additions and 258 deletions

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print messages about the patched files:
`git apply --verbose {{path/to/file}}`
`git apply {{[-v|--verbose]}} {{path/to/file}}`
- Apply and add the patched files to the index:
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Apply a remote patch file:
`curl -L {{https://example.com/file.patch}} | git apply`
`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply`
- Output diffstat for the input and apply the patch:
@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
- Apply the patch in reverse:
`git apply --reverse {{path/to/file}}`
`git apply {{[-R|--reverse]}} {{path/to/file}}`
- Store the patch result in the index without modifying the working tree: