From d3cfb0bc1dd3399cf66f84ffe0b309ab026a29ff Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Sun, 27 Dec 2020 20:58:06 +0600 Subject: [PATCH] update config: git --- dot_gitconfig.newscred.tmpl | 4 ++++ dot_gitconfig.shopup.tmpl | 2 +- dot_gitconfig.tmpl | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 dot_gitconfig.newscred.tmpl diff --git a/dot_gitconfig.newscred.tmpl b/dot_gitconfig.newscred.tmpl new file mode 100644 index 0000000..4c5495d --- /dev/null +++ b/dot_gitconfig.newscred.tmpl @@ -0,0 +1,4 @@ +[user] + email = {{ template "bitwarden_chezmoi_config" "git.email.newscred" }} + +# vim: set filetype=gitconfig foldmethod=indent : diff --git a/dot_gitconfig.shopup.tmpl b/dot_gitconfig.shopup.tmpl index 93c337a..28fdfd4 100644 --- a/dot_gitconfig.shopup.tmpl +++ b/dot_gitconfig.shopup.tmpl @@ -1,4 +1,4 @@ [user] - email = {{ template "bitwarden_chezmoi_config" "git.email.work" }} + email = {{ template "bitwarden_chezmoi_config" "git.email.shopup" }} # vim: set filetype=gitconfig foldmethod=indent : diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index e0427d1..4777fb8 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -75,7 +75,13 @@ [credential "https://gitlab.com"] username = MunifTanjim -[includeIf "gitdir:team-shopup/**"] +[includeIf "gitdir:github/newscred/**"] + path = ~/.gitconfig.newscred + +[includeIf "gitdir:github/shopuptech/**"] + path = ~/.gitconfig.shopup + +[includeIf "gitdir:bitbucket/team-shopup/**"] path = ~/.gitconfig.shopup # vim: set filetype=gitconfig foldmethod=indent : -- knotmirror 0.0.1