Skip to content

Commit 3178e7d

Browse files
authored
Merge pull request #325 from arran4/git-config-local-5088928759037547736
Move git user configuration to create_dot_gitconfig.local.tmpl
2 parents aa4a2c8 + 7d9bc38 commit 3178e7d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

create_dot_gitconfig.local.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[user]
2-
# name = Local User
3-
# email = local.user@example.com
2+
name = {{ index . "gitUserName" }}
3+
email = {{ index . "gitUserEmail" }}

dot_gitconfig.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
{{- $pagerTool := index . "gitPagerLocation" -}}
66

77
[user]
8-
name = {{ index . "gitUserName" }}
9-
email = {{ index . "gitUserEmail" }}
108
useConfigOnly = true
119
[init]
1210
defaultBranch = main

0 commit comments

Comments
 (0)