Skip to content

Feature request: --rebase-merges and --onto options for rebase #45

@caarmen

Description

@caarmen

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions