summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2024-04-13 00:41:29 -0400
committerAnthony Wang2024-04-13 00:41:29 -0400
commitc64d7d4aa813552d18b1c39527d5a3a9459fb678 (patch)
tree0a2b2ab866e76952009a232275760575cc613775
parent3561455a24f42d2131f5b8985ca0b4a34bc16992 (diff)
Set receive.denyCurrentBranch to updateInstead to enable Git push-to-deploy
-rw-r--r--git/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/config b/git/config
index a6f814c..9bf2c60 100644
--- a/git/config
+++ b/git/config
@@ -8,3 +8,5 @@
gpgsign = true
[gpg]
format = ssh
+[receive]
+ denyCurrentBranch = updateInstead