From 8915c65109e4f6533bde77496f4b4b879452556d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 21 Oct 2025 16:04:58 +0200 Subject: git: add config overrides at the end MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way I don't depend on the order of configuration options. Signed-off-by: Miquel Sabaté Solà --- .gitconfig | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index a777b57..a8b8fac 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,12 +3,6 @@ email = mssola@mssola.com signingkey = 0x96BE8C6FD89D6565 -[includeIf "gitdir:~/src/github.com/SUSE/"] - path = ~/.gitconfig-suse - -[includeIf "gitdir:~/src/gitlab.suse.de/"] - path = ~/.gitconfig-suse - [core] excludesfile = ~/.gitignore whitespace = trailing-space,space-before-tab @@ -94,3 +88,12 @@ # Set difftastic as the default difftool, so we don't need to specify # `-t difftastic` every time. tool = difftastic + +## +# Overrides in case my @suse.com should apply. + +[includeIf "gitdir:~/src/github.com/SUSE/"] + path = ~/.gitconfig-suse + +[includeIf "gitdir:~/src/gitlab.suse.de/"] + path = ~/.gitconfig-suse \ No newline at end of file -- cgit v1.2.3