summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-06-21 17:31:21 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2020-06-21 17:31:21 +0100
commit4bce8201c271a01132635ffcb13ebea09c616709 (patch)
tree7a9c1c696b607153bfbc9c95f5ed981de638709a /git
parent477a001b31a80b724c8ba69a62ff601f04d168df (diff)
git: Only allow fast-forward merges when pulling
Diffstat (limited to 'git')
-rw-r--r--git/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/config b/git/config
index ff07707..3209ba3 100644
--- a/git/config
+++ b/git/config
@@ -11,5 +11,8 @@
[diff]
algorithm = histogram
+[pull]
+ ff = only
+
[user]
name = Grégoire Duchêne