From 4c1a84b429404ef0d743a3c9a90257b589bd8bff Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 11 Apr 2021 19:36:45 +0200 Subject: Add git settings for LFS; only allow fast-forward on pull --- git/.gitconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'git/.gitconfig') diff --git a/git/.gitconfig b/git/.gitconfig index 88ada2c..883ade4 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -33,3 +33,10 @@ recurseSubmodules = check [rerere] enabled = true +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[pull] + ff = only -- cgit v1.2.3