dotfiles/.gitconfig

58 lines
1.1 KiB
INI
Raw Normal View History

2021-04-17 06:49:53 +00:00
[core]
2021-04-17 12:49:44 +00:00
editor = nv
2021-04-17 06:49:53 +00:00
autocrlf = input
excludesfile = /home/hedy/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
[user]
name = Hedy Li
2021-04-17 12:49:44 +00:00
email = hedy@ttm.sh # email overidden in [include]
2021-04-17 06:49:53 +00:00
[alias]
s = status
c = commit
b = branch
ls-alias = config --get-regexp alias
l = log --oneline
ll = log
ss = status -s
ch = checkout
chb = checkout -b
mylog = log --pretty=format:'%C(yellow)%h %C(bold blue)%an, %C(green)%ar: %C(white)"%s"'
lgraph = log --oneline --graph --decorate --all
brd = branch -d
fame = !python3 -m gitfame
p = push
cmam = commit -am
[credential]
helper = store --file="$HOME/.git_creds"
helper = cache --timeout 90000
[help]
autocorrect = 30
[pull]
rebase = false
2021-04-17 12:49:44 +00:00
# sendmail conig in [include]
2021-04-17 06:49:53 +00:00
[include]
path = ~/.gitconfig-local
# diff-so-fancy
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse