summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Miamoto <fsmiamoto@gmail.com>2020-08-29 23:08:50 -0300
committerJesse Duffield <jessedduffield@gmail.com>2020-08-31 09:22:39 +1000
commit86f296a898d1df3b827618c2645c21fd9c60526d (patch)
tree00d0b539fe8378ad681979be4856eb730b3626e7
parent71ff18318d60df03c6d92550204f66564f340840 (diff)
add config for disabling force pushing
-rw-r--r--docs/Config.md1
-rw-r--r--pkg/config/app_config.go1
2 files changed, 2 insertions, 0 deletions
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