autorebase
autorebase copied to clipboard
Automatically rebase all your branches onto master
If you make a git repository at `/foo` and then make a worktree at `/bar` then run `autorebase` in `/bar` it fails with a message like this: ``` • Creating...
Might need to add `let enabled = ansi_term::enable_ansi_support();` (see [this comment](https://github.com/mackwic/colored/issues/59#issuecomment-877966079)).
If the app crashes, it leaves the worktree in the middle of a rebase, from which it can't recover. ``` • Pulling master... Error: process exited with exit code exit...
When it pulls `master` if the pull command fails (e.g. due to no network) then it leaves the branch checked out in its worktree.