Please change the default binding (enter) for force pushes
              
              #1905
            
            
                  
                    
                      bennypowers
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 1 comment 3 replies
-
| 
         At least we need a way to configure that to our own preference. I've force pushed with lazygit on accident before.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Force pushing is a destructive operation. The confirmation dialog which asks whether you'd like to cancel or force push should not use the
enterkey to confirm, but a something unusual, I proposef.This is because the consequences of mistakenly force pushing (e.g. if the user did not carefully read the dialog) could be dire, while the consequences of cancelling are mild.
Beta Was this translation helpful? Give feedback.
All reactions