summaryrefslogtreecommitdiff
path: root/git/gitconfig
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2020-05-23 11:08:26 +0200
committerReiner Herrmann <reiner@reiner-h.de>2020-05-23 11:08:26 +0200
commit8aed500052fda6280e965059cc4af1ed0ab32cb8 (patch)
tree56ab6baaf8896cb36cebfddfb73f63839a28e463 /git/gitconfig
parent1a31e9eb185a98f78e3e6dec9f11bb04266d9473 (diff)
git: allow only fast-forwards when pulling
since 2.27 git warns if no pull strategy is configured. options are merging, rebasing or allowing only ffs. as both merging and rebasing can be annoying, try to only use ffs. if that's not possible, manual merging/rebasing is still possible.
Diffstat (limited to 'git/gitconfig')
-rw-r--r--git/gitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/gitconfig b/git/gitconfig
index 01b5277..00cb691 100644
--- a/git/gitconfig
+++ b/git/gitconfig
@@ -37,3 +37,6 @@
[tig]
diff-highlight = true
+
+[pull]
+ ff = only