dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/git/config

125 lines
2.6 KiB
Plaintext

[alias]
st = status
fx = commit --fixup=HEAD
ci = commit -v
cm = commit -m
ri = rebase -i --autosquash
wc = whatchanged
ass = add
amend = commit --amend -v
full = show --format=fuller
noed = commit --amend --no-edit
tr = log --graph --date-order --date=short --pretty=format:'%C(cyan)%h %C(blue)%ar%C(auto)%d%C(yellow)%s%+b %C(black)%ae'
fz = !sha=$( git -c color.ui=always log --oneline -n 1000 | fzf +s --no-multi --prompt 'Fixup> ' ) && git commit --fixup "${sha%% *}"
wd = "!f() { git --paginate diff --dirstat=cumulative,files,0 ${1:-HEAD} | awk '{print $2}' | cut -d / -f1-${2:-4} | sort | uniq; }; f"
[http]
sslVerify = true
[core]
editor = nvr --remote-wait-silent
autocrlf = input
whitespace = warn
excludesfile = /home/deadguy/.config/git/gitignore
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
syntax-theme = zenburn
plus-style = syntax "#003800"
minus-style = syntax "#3f0001"
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = yellow ul ol
file-style = yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[web]
browser = firefox
[credential]
helper = /usr/libexec/git-core/git-credential-libsecret
[merge]
tool = nvim
[mergetool "nvim"]
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
[mergetool]
prompt = false
[diff]
tool = nvr
colorMoved = default
[difftool "nvr"]
cmd = nvr -s -d $LOCAL $REMOTE
[commit]
gpgsign = true
verbose = true
[status]
branch = true
[color]
diff = auto
status = auto
branch = auto
ui = true
[rerere]
enabled = true
[grep]
lineNumber = true
extendRegexp = true
[color "branch"]
remote = red bold
current = yellow bold
local = yellow
[color "status"]
added = yellow bold
changed = red bold
untracked = red
header = cyan bold
branch = yellow bold
[color "grep"]
separator = green bold
filename = green
linenumber = blue bold
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow 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
[gpg]
program = gpg2
[log]
decorate = short
[include]
path = config.local