mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 13:50:42 +00:00
Update cheatsheets
This commit is contained in:
@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git rebase {{new_base_branch}}`
|
||||
|
||||
- Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified:
|
||||
- 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}}`
|
||||
|
||||
@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git rebase --onto {{new_base}} {{old_base}}`
|
||||
|
||||
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified:
|
||||
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined, or modified:
|
||||
|
||||
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user