From fa93b22fd955238c4094ee36eb60a23e5b24b439 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Mon, 21 Oct 2024 16:38:32 +0200 Subject: [PATCH] Specify global and local git configurations --- tongfang/.config/git/blender.gitconfig | 2 ++ tongfang/.gitconfig | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 tongfang/.config/git/blender.gitconfig diff --git a/tongfang/.config/git/blender.gitconfig b/tongfang/.config/git/blender.gitconfig new file mode 100644 index 0000000..55b00b1 --- /dev/null +++ b/tongfang/.config/git/blender.gitconfig @@ -0,0 +1,2 @@ +[user] + email = bart@blender.org diff --git a/tongfang/.gitconfig b/tongfang/.gitconfig index cbf633c..f825584 100644 --- a/tongfang/.gitconfig +++ b/tongfang/.gitconfig @@ -1,6 +1,7 @@ [user] name = Bart van der Braak email = bart@vanderbraak.nl + # signingkey = 26ED0D75D89D9B61 [alias] p = push st = status @@ -15,6 +16,8 @@ excludesfile = $HOME/.gitignore_global [init] defaultBranch = main +[commit] + # gpgsign = true [push] autoSetupRemote = true [filter "lfs"] @@ -22,3 +25,9 @@ smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true +[includeIf "gitdir:~/Repos/github.com/blender/"] + path = ~/.config/git/blender.gitconfig +[includeIf "gitdir:~/Repos/gitlab.com/blender/"] + path = ~/.config/git/blender.gitconfig +[includeIf "gitdir:~/Repos/projects.blender.org/"] + path = ~/.config/git/blender.gitconfig \ No newline at end of file