From 27a2d72e733a2473bb7a0e456fed63debf61d290 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 18 Jul 2014 05:34:41 +0400 Subject: [PATCH] Set globally receive.denyNonFastForwards = true --- .gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitconfig b/.gitconfig index cd86ef3..701610d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -23,6 +23,9 @@ # 3 way diffs # cmd = vim -d \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" -c \"wincmd J\" +[receive] + denyNonFastForwards = true + [web] browser = webbrowser -- 2.39.5