dotfiles/.gitconfig

65 lines
1.2 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-06-26 23:59:11 +00:00
email = hedy@tilde.cafe # email overidden in [include]
2021-06-27 00:11:20 +00:00
signingkey = B51B5A8D1B176372 # and this
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
2021-08-10 12:43:52 +00:00
pushall = !git remote | xargs -L1 git push --all
2021-04-17 06:49:53 +00:00
[credential]
helper = store --file="$HOME/.git_creds"
helper = cache --timeout 90000
[help]
autocorrect = 30
[pull]
rebase = false
2021-06-26 23:59:11 +00:00
[commit]
gpgsign = true
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
2021-07-16 05:27:49 +00:00
[push]
followTags = true