Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
caarmen opened this issue Feb 1, 2023 · 1 comment
Open

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

caarmen opened this issue Feb 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@caarmen
Copy link

caarmen commented Feb 1, 2023

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
@initialcommit-io initialcommit-io added the enhancement New feature or request label Feb 2, 2023
@initialcommit-io
Copy link
Contributor

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!

@initialcommit-io initialcommit-io self-assigned this Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants