[GH-ISSUE #45] Feature request: --rebase-merges and --onto options for rebase #34

Open
opened 2026-03-02 16:47:25 +03:00 by kerem · 1 comment
Owner

Originally created by @caarmen on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/45

Originally assigned to: @initialcommit-io on GitHub.

It'd be cool to visualise a rebase using the --rebase-merges and --onto options. Looks like it's not yet supported.

git-sim rebase --rebase-merges 185d138a --onto another-branch
usage: git-sim [-h] [--title TITLE] [--logo LOGO] [--outro-top-text OUTRO_TOP_TEXT] [--outro-bottom-text OUTRO_BOTTOM_TEXT] [--show-intro] [--show-outro] [--media-dir MEDIA_DIR] [--low-quality] [--light-mode]
               [--speed SPEED] [--animate] [--max-branches-per-commit MAX_BRANCHES_PER_COMMIT] [--max-tags-per-commit MAX_TAGS_PER_COMMIT] [-d] [-r] [--video-format VIDEO_FORMAT]
               {log,status,add,restore,commit,stash,branch,tag,reset,revert,merge,rebase,cherry-pick} ...
git-sim: error: unrecognized arguments: --rebase-merges --onto another-branch

Currently only one argument for rebase is supported: branch:

$ git-sim rebase -h
usage: git-sim rebase [-h] branch

positional arguments:
  branch      The branch to simulate rebasing the checked-out commit onto

options:
  -h, --help  show this help message and exit
Originally created by @caarmen on GitHub (Feb 1, 2023). Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/45 Originally assigned to: @initialcommit-io on GitHub. It'd be cool to visualise a `rebase` using the `--rebase-merges` and `--onto` options. Looks like it's not yet supported. ```bash git-sim rebase --rebase-merges 185d138a --onto another-branch usage: git-sim [-h] [--title TITLE] [--logo LOGO] [--outro-top-text OUTRO_TOP_TEXT] [--outro-bottom-text OUTRO_BOTTOM_TEXT] [--show-intro] [--show-outro] [--media-dir MEDIA_DIR] [--low-quality] [--light-mode] [--speed SPEED] [--animate] [--max-branches-per-commit MAX_BRANCHES_PER_COMMIT] [--max-tags-per-commit MAX_TAGS_PER_COMMIT] [-d] [-r] [--video-format VIDEO_FORMAT] {log,status,add,restore,commit,stash,branch,tag,reset,revert,merge,rebase,cherry-pick} ... git-sim: error: unrecognized arguments: --rebase-merges --onto another-branch ``` Currently only one argument for `rebase` is supported: `branch`: ```bash $ git-sim rebase -h usage: git-sim rebase [-h] branch positional arguments: branch The branch to simulate rebasing the checked-out commit onto options: -h, --help show this help message and exit ```
Author
Owner

@initialcommit-io commented on GitHub (Feb 2, 2023):

Hi @caarmen!

Thanks for the suggestion. I would love to get this in at some point. I'm working on various updates/enhancements for the tool, so don't have a timeline at the moment, but I'll keep this open for now!

<!-- gh-comment-id:1412927619 --> @initialcommit-io commented on GitHub (Feb 2, 2023): Hi @caarmen! Thanks for the suggestion. I would love to get this in at some point. I'm working on various updates/enhancements for the tool, so don't have a timeline at the moment, but I'll keep this open for now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#34
No description provided.