diff options
Diffstat (limited to 'git/.gitconfig')
| -rw-r--r-- | git/.gitconfig | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..77d7c22 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,153 @@ +[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 + +[column] + ui = auto + +[commit] + gpgsign = true + verbose = true + +[branch] + autosetuprebase = always + sort = -committerdate + +[tag] + sort = version:refname + +[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 + autoSquash = true + updateRefs = true + +[pull] + rebase = true + recurseSubmodules = on-demand + +[fetch] + prune = true + pruneTags = true + all = true + output = full + +[push] + default = simple + autoSetupRemote = true + followTags = true + +[merge] + conflictstyle = zdiff3 + +[core] + preloadindex = true + excludesFile = ~/.gitignore + trustctime = false + commitGraph = true + +[diff] + indentHeuristic = true + algorithm = histogram + tool = vimdiff + +[log] + date = local + +[rerere] + enabled = true + autoupdate = 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 + +[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 + |
