From 8c27a31fd9e67f198c8867380ba38ad33775f0c5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 17 Sep 2026 09:39:32 -0700 Subject: macos: Add git-lfs --- _mbsetupuser/Brewfile.org | 2 ++ git/.config/git/config | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/_mbsetupuser/Brewfile.org b/_mbsetupuser/Brewfile.org index 09802ce..e6cb0d7 100644 --- a/_mbsetupuser/Brewfile.org +++ b/_mbsetupuser/Brewfile.org @@ -28,6 +28,7 @@ Then I need some things for configuration and development purposes: - git :: Version control system that I use. - git-secret :: A plugin for git that was recommended by Milon for maintaining secrets inside a git repository. +- git-lfs :: Add large binary files to git repositories efficiently. - stow :: Mainly used with this repository, "installs" configuration files by making and maintaining symbolic links. - make :: The bundled version with macos is really old and doesn't support some of the features that I use. - tailscale-app :: Mesh VPN that lets me connect to my self-hosted services like music streaming. @@ -42,6 +43,7 @@ Then I need some things for configuration and development purposes: #+begin_src ruby brew "git" brew "git-secret" + brew "git-lfs" brew "stow" cask "tailscale-app" cask "hammerspoon" diff --git a/git/.config/git/config b/git/.config/git/config index 83804a3..9c4b895 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -12,3 +12,8 @@ defaultBranch = main [includeIf "gitdir:~/code/diamond-interactive/"] path = diamond-interactive.cfg +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true -- cgit v1.3-2-g0d8e