NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
4.08k stars 241 forks source link

feat: ask user if to force push when branches diverged #1450

Closed alan910127 closed 3 months ago

alan910127 commented 3 months ago

Resolves #1188

Changes

This PR introduces a feature that prompts the user to confirm whether they want to force push when their branch has diverged. The feature is based on lazygit's implementation that provides a similar prompt.

Screenshots

image

CKolkey commented 3 months ago

Awesome - thanks for the contribution :)