Skip to content

Do not persist dangerous flags such as push --force or --force-with-lease by default #497

@fnune

Description

@fnune

image

The --force and --force-with-lease flags are seemingly persisted across different pushes. This is most likely unwanted and runs users into the danger of force-pushing to a branch they don't want to force-push to.

Describe the solution you'd like

Simply avoid persisting these flags' values across pushes.

Metadata

Metadata

Assignees

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