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

@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified:
`git rebase {{-i|--interactive}} {{target_base_branch_or_commit_hash}}`
`git rebase {{[-i|--interactive]}} {{target_base_branch_or_commit_hash}}`
- Continue a rebase that was interrupted by a merge failure, after editing conflicting files:
@@ -35,8 +35,8 @@ source: https://github.com/tldr-pages/tldr.git
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified:
`git rebase {{-i|--interactive}} {{HEAD~5}}`
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
- Auto-resolve any conflicts by favoring the working branch version (`theirs` keyword has reversed meaning in this case):
`git rebase {{-X|--strategy-option}} theirs {{branch_name}}`
`git rebase {{[-X|--strategy-option]}} theirs {{branch_name}}`