From d0eed33b5fdffbc29dd5e7dd0c6d4c0f8e59ab5c Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Thu, 19 Dec 2024 11:06:54 +0100 Subject: [PATCH] Move gitconfig to XDG_CONFIG_DIR --- git/{.gitconfig => .config/git/config} | 5 +++++ git/.config/git/config-dlrg | 3 +++ git/.config/git/config-hka | 3 +++ 3 files changed, 11 insertions(+) rename git/{.gitconfig => .config/git/config} (57%) create mode 100644 git/.config/git/config-dlrg create mode 100644 git/.config/git/config-hka diff --git a/git/.gitconfig b/git/.config/git/config similarity index 57% rename from git/.gitconfig rename to git/.config/git/config index 84af68f..6cb4c9e 100644 --- a/git/.gitconfig +++ b/git/.config/git/config @@ -13,3 +13,8 @@ prompt = false [core] autocrlf = input + +[includeIf "gitdir:~/projects/24h/"] + path = .gitconfig-dlrg +[includeIf "gitdir:~/projects/Karlsruhe/"] + path = .gitconfig-hka diff --git a/git/.config/git/config-dlrg b/git/.config/git/config-dlrg new file mode 100644 index 0000000..d80032d --- /dev/null +++ b/git/.config/git/config-dlrg @@ -0,0 +1,3 @@ +[user] + name = Julius Freudenberger + email = julius.freudenberger@spaichingen-aldingen.dlrg.de diff --git a/git/.config/git/config-hka b/git/.config/git/config-hka new file mode 100644 index 0000000..3e9e7eb --- /dev/null +++ b/git/.config/git/config-hka @@ -0,0 +1,3 @@ +[user] + name = Julius Freudenberger + email = frju1029@h-ka.de