dotfiles/git/config

135 lines
2 KiB
Text

[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
[http]
sslVerify = false
[commit]
gpgsign = true
verbose = true
[branch]
autosetuprebase = always
[help]
autocorrect = 1
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[remote "origin"]
fetch = +refs/pull/*/head:refs/remotes/origin/pull/*
[receive]
fsckObjects = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rebase]
autoStash = true
[pull]
rebase = true
recurseSubmodules = on-demand
[fetch]
prune = true
pruneTags = true
output = full
[core]
preloadindex = true
excludesFile = ~/.gitignore
trustctime = false
commitGraph = true
[color]
ui = auto
[color "diff"]
meta = yellow bold
commit = green bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
indentHeuristic = true
algorithm = histogram
tool = vimdiff
[log]
date = local
[rerere]
enabled = true
[pager]
color = true
[status]
color = true
submodulesummary = true
[init]
defaultBranch = master
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[include]
path = .gitconfig.local
[gpg]
format = ssh
[user]
signingkey = /home/neonxp/.ssh/id_ed25519.pub