Skip to content

When asking about force push it should use --force-with-lease #1649

@asmodeus812

Description

@asmodeus812

Is your feature request related to a problem? Please describe.
Recently a feature was added to neogit where if you do not have configured --force flags, it would ask you if you wish to force push if the history is overriden, however i think --force may be too agressive, force-with-lease will be less destructive, if the history in origin has changed, you do not want to push over somebody else's changes.

Describe the solution you'd like
Use --force-with-lease instead of --force

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions