--rebase option to push with uncommitted changes

Create issue
Issue #349 wontfix
Former user created an issue

Current behaviour is to abort a push if the working directory is dirty. The only option then (other than committing) is to shelve the changes, then unshelve them after the push. Could we please have a --rebase option to rebase the working directory onto the new parent instead? Not only will this just have to be done manually without it, rebasing is better than shelving, because we get a proper merge in the event of conflicts.

Comments (8)

  1. Augie Fackler repo owner

    This feels really dangerous, since pushing has an implicit rebase. I'm not comfortable with it.

    (If you want to discuss it, the list is the place rather than a bug.)

  2. Log in to comment