dotfiles/dot_gitconfig.tmpl

55 lines
1.3 KiB
Cheetah
Raw Normal View History

2021-06-01 15:37:55 -04:00
[core]
2022-12-21 12:24:52 -05:00
editor = nvim
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]
2023-04-06 19:23:00 -04:00
user = {{ onepasswordRead "op://Private/github.com/username" }}
token = {{ onepasswordRead "op://Private/github.com/password" }}
2021-06-01 15:37:55 -04:00
[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]
2024-02-16 20:48:17 -05:00
conflictstyle = zdiff3