Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-27 00:19:48 +00:00
parent 114611fd19
commit 9565d2532c
21 changed files with 167 additions and 54 deletions

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show changes from all commits since a given date/time (a date expression, e.g. "1 week 2 days" or an ISO date):
`git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'`
`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'`
- Show diff statistics, like files changed, histogram, and total line insertions/deletions:
@@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git
- Compare a single file between two branches or commits:
`git diff {{branch_1}}..{{branch_2}} [--] {{path/to/file}}`
`git diff {{branch_1}}..{{branch_2}} {{path/to/file}}`
- Compare different files from the current branch to other branch: