config/git/config

60 lines
1.1 KiB
Plaintext

[user]
name = Charles Gould
useConfigOnly = true
[core]
autocrlf = input
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX
[alias]
aliases = config --get-regexp alias
br = branch
co = checkout
df = diff
dc = diff --cached
dch = diff --cached HEAD~
lol = log --oneline --max-count=10 --decorate=no
ss = status --short
st = status --long
sw = switch
cp = cherry-pick
f = fetch --all --prune
pl = pull
ps = push
pu = push --set-upstream
pf = push --force
cm = commit -m
cv = commit -v
ca = commit --amend
can = commit --amend --no-edit
cand = commit --amend --no-edit --date=now
rbi = rebase --interactive
re = restore
res = restore --staged
rh = reset -q HEAD --
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[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
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = current
[log]
date = human