jesseduffield / jesseduffield/lazygit
Force pushing should require additional confirmation step
Open
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
Assessment
This issue has not been assessed yet.