jesseduffield / jesseduffield/lazygit

Force pushing should require additional confirmation step

Open
#3,300 2 comments 7 reactions 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

Currently when pushing to upstream, if there was a divergence the user can press Enter to perform a force push. I think force pushing in itself is quite risky and should require an additional confirmation step, in case the user press Enter out of a mistake.

Perhaps we could make a drop list that defaults to cancel and require the user to manually select, or make the user type in some word for confirmation. Any thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.