dotfiles/dot_gitconfig.tmpl

55 lines
1.3 KiB
Cheetah
Raw Normal View History

2021-06-01 15:37:55 -04:00
[core]
2022-02-20 22:01:53 -05:00
editor = vi
quotepath = false
2021-06-01 15:37:55 -04:00
pager = delta
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
2021-06-01 15:37:55 -04:00
[credential]
helper = cache --timeout=3600
2021-06-01 15:37:55 -04:00
[push]
default = simple
2021-06-01 15:37:55 -04:00
[github]
user = {{ (index (lastpass "github_token") 0).username | quote }}
token = {{ (index (lastpass "github_token") 0).password | quote }}
[diff]
tool = meld
2021-06-01 15:37:55 -04:00
[difftool]
prompt = false
2021-06-01 15:37:55 -04:00
[color]
ui = auto
2021-06-01 15:37:55 -04:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
2021-06-01 15:37:55 -04:00
[pull]
rebase = false
2021-06-01 15:37:55 -04:00
[user]
name = {{ .gitconfig.work.name }}
email = {{ .gitconfig.work.email }}
[includeIf "gitdir:~/projects/{{- .gitconfig.home.config }}/"]
path = ~/.gitconfig-{{- .gitconfig.home.config }}
2021-06-01 15:37:55 -04:00
[includeIf "gitdir:~/projects/{{- .gitconfig.work.config }}/"]
path = ~/.gitconfig-{{- .gitconfig.work.config }}
2021-06-01 15:37:55 -04:00
[init]
defaultBranch = main
2021-08-23 14:34:06 -04:00
templatedir = /home/kellya/.git-templates
2021-06-01 15:37:55 -04:00
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
[interactive]
diffFilter = delta --color-only
2022-02-20 22:01:53 -05:00
[help]
autocorrect = 20
[merge]
conflictstyle = diff3