add global gitconfig and gitignore with email & name data
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user