rydesun/.config/git/config
2021-08-07 16:56:13 +08:00

53 lines
1 KiB
Text

[user]
name = rydesun
email = rydesun@gmail.com
signingkey = rydesun@gmail.com
[alias]
lg = log --oneline --abbrev=4 --graph --decorate --all
gl = log --oneline --abbrev=4 --graph --decorate --all
st = status -s
c = commit
b = branch
p = push
co = checkout
rb = rebase
mg = merge
lt = ls-tree -rl --abbrev=4
ls = ls-files
lo = ls-files -o
lm = ls-files -m
lu = ls-files -u
ld = ls-files -d
cat = cat-file -p
d = diff
ds = diff --staged
s = show
[pull]
rebase = true
[credential]
helper = cache
[url "https://github.com"]
insteadOf = git://github.com
[pager]
diff = delta
show = delta
log = delta
reflog = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
[delta "decorations"]
commit-decoration-style = bold yellow ul
file-style = bold black white
file-decoration-style = none
hunk-header-style = line-number syntax
hunk-header-decoration-style = cyan ul
hunk-header-line-number-style = yellow
[delta "interactive"]
keep-plus-minus-markers = false