The Wizard can help with all your rebase problems!
The Wizard never acts without your intervention. The Wizard only provides advice and never runs a command that could change your git history in any way. That's your job.
$ rebase-wizard --help
$ rebase-wizard --tutorial
Say you want to switch base branches for your feature branch. The Wizard can work some magic!
# Open your project
$ cd PROJECT_DIR
# Switch to your feature branch
$ git checkout best-feature-ever
# Make sure you've sync'd with your remotes.
$ git fetch
# Ask the wizard
$ rebase-wizard help
$ rebase-wizard help jump
$ rebase-wizard jump
- git 2.23+
Please bear us as we improve these cumbersome distribution problems. We're actively trying to improve it.
# Add the custom homebrew "tap" using ssh protocol
$ brew tap saterus/rebase-wizard [email protected]:saterus/rebase-wizard.git
# OR
# Add the custom homebrew "tap" using https protocol
$ brew tap saterus/rebase-wizard https://github.com/saterus/rebase-wizard
# Install the latest published version
$ brew install rebase-wizard
- Download the latest build from the Releases page.
chmod 755 rebase-wizard
so it is executable.- Add the
rebase-wizard
to your/usr/local/bin
so it is available in your$PATH
. - Be ready to open the Security Settings panel and allow an exception for this unsigned binary to run. 😬
- Untested
- Follow the Developer Setup steps
- git 2.23+
- Rust environment
You can skip this step if you already have Rust installed.
# Install the Rust toolchain manager: rustup
$ brew install rustup-init
$ rustup-init
# Add the Cargo binary directory to your path
$ source ~/.cargo/env
# Verify you have a working Rust installation.
$ rustup show
# =>
# Should output something similar to:
# Default host: x86_64-apple-darwin
# rustup home: ~/.rustup
# installed toolchains
# --------------------
# stable-x86_64-apple-darwin
# Clone this repo
$ git clone [email protected]:saterus/rebase-wizard.git
# Build a local copy
$ cargo build
# Install into ~/.cargo/bin
$ cargo install --path .
# Run from any git repository
$ rebase-wizard
Please provide feedback. This is a super rough prototype. Barely more than a distributable shell script. I'd love to make it better.