[[Lazygit]]はデフォルトだと警告つきで[[force push (Git)|force push]]を許容している。[[Lazygitの設定ファイル]]で `git.disableForcePushing` オプションを指定すると常に[[force push (Git)|force push]]をエラーにできる。 ```yaml git: disableForcePushing: true ```