diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-21 16:04:58 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-21 19:41:55 +0200 |
| commit | 8915c65109e4f6533bde77496f4b4b879452556d (patch) | |
| tree | cc91a500a6efd2a37c4ad66146fc342d184f5abd | |
| parent | 22a790fc1d99b96cd1316b835ae02c4476f548bc (diff) | |
| download | dotfiles-8915c65109e4f6533bde77496f4b4b879452556d.tar.gz dotfiles-8915c65109e4f6533bde77496f4b4b879452556d.zip | |
git: add config overrides at the end
This way I don't depend on the order of configuration options.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | .gitconfig | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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 |
