Skip to content

Can I re-enable force pushing, or should I change my workflow? #3437

@jakubledl

Description

@jakubledl

When developing on a branch feature-asdf, I'm used to having the upstream of the branch set to origin/main and have push.default set to current. This means that whenever someone else merges something to origin/main, I immediately see it as ↑m↓n, I can pull and rebase onto origin/main with a simple p and I could push the rebased branch with just P and Enter to confirm the force push.

After upgrading to 0.41.0, #3387 of course broke this workflow, since now it's impossible to force push the branch after the rebase. Is there a way I can get the old behavior back, or should I perhaps do something else entirely? I switched to lazygit from Magit when I stopped using Emacs a few months ago, so it's possible I'm just trying to recreate something that I'm used to and that lazygit has a different/better way to do.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions