From ba33b7c0fc1f1966bd0ae25881e5fc845779aa15 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Tue, 25 Apr 2023 14:28:48 +0200 Subject: [PATCH] Add git lfs --- dotfiles.yml | 1 - roles/dotfiles/files/gitconfig | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dotfiles.yml b/dotfiles.yml index 9c377ed..d7cccd8 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -1,5 +1,4 @@ --- -# - fix symlinks for folders - hosts: all name: Dotfiles roles: diff --git a/roles/dotfiles/files/gitconfig b/roles/dotfiles/files/gitconfig index 68a86ac..72c684b 100644 --- a/roles/dotfiles/files/gitconfig +++ b/roles/dotfiles/files/gitconfig @@ -8,3 +8,8 @@ st = status co = checkout br = branch +[filter "lfs"] + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f