rydesun/.config/git/config
2022-10-18 22:17:50 +08:00

53 lines
866 B
Text

[user]
name = rydesun
email = rydesun@gmail.com
signingkey = rydesun@gmail.com
[log]
date = iso
[alias]
lg = log --oneline --abbrev=5 --graph --decorate --all -5
gl = lg
st = status -s
c = commit
b = branch
p = push
co = checkout
rb = rebase
ls = ls-files
d = diff
ds = diff --staged
s = show
[pull]
rebase = true
[credential]
helper = cache
[url "https://github.com"]
insteadOf = git://github.com
; === delta配置 ===
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
; commit信息增加下划线
commit-decoration-style = bold ul
; 文件名以块状显示
file-style = bold black white
; 去掉文件名的下划线
file-decoration-style = none
; diff的配色
minus-style = syntax "#39180b"
minus-emph-style = normal "#734347"
plus-style = syntax "#1a2810"
plus-emph-style = normal "#406040"