From 86f296a898d1df3b827618c2645c21fd9c60526d Mon Sep 17 00:00:00 2001 From: Francisco Miamoto Date: Sat, 29 Aug 2020 23:08:50 -0300 Subject: [PATCH] add config for disabling force pushing --- docs/Config.md | 1 + pkg/config/app_config.go | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/Config.md b/docs/Config.md index f867ae486..860af591a 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -49,6 +49,7 @@ Default path for the config file: autoFetch: true branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --" overrideGpg: false # prevents lazygit from spawning a separate process when using GPG + disableForcePushing: false update: method: prompt # can be: prompt | background | never days: 14 # how often an update is checked for diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 90fc45add..c79907c64 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -276,6 +276,7 @@ git: autoFetch: true branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --" overrideGpg: false # prevents lazygit from spawning a separate process when using GPG + disableForcePushing: false update: method: prompt # can be: prompt | background | never days: 14 # how often a update is checked for