From d36ef4f5c4b13bbeb61c5e46026540effcd38ce6 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Sun, 1 Nov 2020 10:56:26 -0500 Subject: [PATCH] feat: configure git pull to fast-forward only by default Git now logs a warning if a default isn't configured. --- gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitconfig b/gitconfig index 10c7c79..3dcb514 100644 --- a/gitconfig +++ b/gitconfig @@ -3,6 +3,8 @@ followTags = true [rebase] autosquash = true +[pull] + ff = only [user] name = Philippe Serhal email = philippe@goodeggs.com -- 2.51.2