aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-09-17 09:39:32 -0700
committerGravatar Tom Willemse2026-09-17 09:42:44 -0700
commit8c27a31fd9e67f198c8867380ba38ad33775f0c5 (patch)
treed0288ad6011c856725b0cf5a7e72a98f03468380
parentc6b472d6ab44e844d649a7d183de87e02d39d4b9 (diff)
downloadnew-dotfiles-8c27a31fd9e67f198c8867380ba38ad33775f0c5.tar.gz
new-dotfiles-8c27a31fd9e67f198c8867380ba38ad33775f0c5.zip
macos: Add git-lfs
-rw-r--r--_mbsetupuser/Brewfile.org2
-rw-r--r--git/.config/git/config5
2 files changed, 7 insertions, 0 deletions
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