From c1044972c135126a6c9620ccb4cf4b1c6f6bf985 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 19 Sep 2026 13:26:13 +0200 Subject: ignore mac crap in git globally --- home/dot_config/git/config.tmpl | 1 + home/dot_config/git/excludes | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 home/dot_config/git/excludes diff --git a/home/dot_config/git/config.tmpl b/home/dot_config/git/config.tmpl index cbc2b81..51b207f 100644 --- a/home/dot_config/git/config.tmpl +++ b/home/dot_config/git/config.tmpl @@ -2,6 +2,7 @@ defaultBranch = {{ dig "git" "default_branch" "master" . }} [core] quotepath = off + excludesfile = {{ env "XDG_CONFIG_HOME" }}/git/excludes [user] {{- with (dig "git" "email" nil .) }} email = {{ . }} diff --git a/home/dot_config/git/excludes b/home/dot_config/git/excludes new file mode 100644 index 0000000..e2419c8 --- /dev/null +++ b/home/dot_config/git/excludes @@ -0,0 +1,2 @@ +.DS_Store +__MACOSX -- cgit v1.2.3