From 07884738b80a160dd94da73601e97f689bf7a6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 13 Apr 2024 17:12:41 +0200 Subject: [PATCH] git: Always use same mail for repo --- git/gitconfig.j2 | 2 ++ gitcfg | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 gitcfg diff --git a/git/gitconfig.j2 b/git/gitconfig.j2 index fd273eb..e4f47e5 100644 --- a/git/gitconfig.j2 +++ b/git/gitconfig.j2 @@ -122,3 +122,5 @@ defaultBranch = master [safe] directory = /var/lib/dotfiles +[includeIf "gitdir:/var/lib/dotfiles"] + path = /var/lib/dotfiles/gitcfg diff --git a/gitcfg b/gitcfg new file mode 100644 index 0000000..7f91ed9 --- /dev/null +++ b/gitcfg @@ -0,0 +1,3 @@ +[user] + email = hannes@hkoerber.de + name = Hannes Körber