add global gitconfig and gitignore with email & name data
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
|
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
# TODO: Update email address and name
|
||||||
|
|
||||||
[data]
|
[data]
|
||||||
osid = {{ $osid | quote }}
|
osid = {{ $osid | quote }}
|
||||||
|
email = "candrewlee14@gmail.com"
|
||||||
|
name = "Andrew Lee"
|
||||||
|
|
||||||
|
|||||||
30
dot_gitconfig.tmpl
Normal file
30
dot_gitconfig.tmpl
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
[credential "https://github.com"]
|
||||||
|
helper =
|
||||||
|
helper = !~/.webman/bin/gh auth git-credential
|
||||||
|
[credential "https://gist.github.com"]
|
||||||
|
helper =
|
||||||
|
helper = !~/.webman/bin/gh auth git-credential
|
||||||
|
|
||||||
|
[user]
|
||||||
|
email = {{ .email | quote }}
|
||||||
|
name = {{ .name }}
|
||||||
|
|
||||||
|
[core]
|
||||||
|
pager = delta
|
||||||
|
excludesfile = ~/.gitignore
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true # use n and N to move between diff sections
|
||||||
|
|
||||||
|
# delta detects terminal colors automatically; set one of these to disable auto-detection
|
||||||
|
# dark = true
|
||||||
|
# light = true
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
2
dot_gitignore
Normal file
2
dot_gitignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
.DS_Store
|
||||||
Reference in New Issue
Block a user