Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-06 00:19:54 +00:00
parent e452860d9b
commit 7e39fb6df5
49 changed files with 132 additions and 93 deletions

View File

@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Trim whitespace and Git comments from a file:
`cat {{path/to/file}} | git stripspace --strip-comments`
`cat {{path/to/file}} | git stripspace {{[-s|--strip-comments]}}`
- Convert all lines in a file into Git comments:
`git stripspace --comment-lines < {{path/to/file}}`
`git stripspace {{[-c|--comment-lines]}} < {{path/to/file}}`