-
Notifications
You must be signed in to change notification settings - Fork 11
/
.gitconfig
56 lines (56 loc) · 1.05 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[push]
autosetupremote = true
default = current
[init]
defaultBranch = main
[pull]
rebase = true
[merge]
conflictstyle = diff3
[commit]
verbose = true
; gpgsign = true
[user]
email = [email protected]
name = qiaohao
; signingkey = A703B3F6DD9910FB
[rerere]
enabled = true
[diff]
algorithm = histogram
submodule = log
noprefix = true
[core]
excludesfile = ~/.config/git/ignore
autocrlf = false
editor = nvim
pager = delta
[status]
submoduleSummary = true
[submodule]
recurse = true
[log]
date = iso
[color "diff"]
meta = yellow
whitespace = red reverse
new = green bold
old = red bold
frag = magenta bold
commit = yellow bold
[color]
ui = true
[alias]
st = status
stnu = status --untracked-files=no
ci = commit
co = checkout
df = diff
dc = diff --cached
rs = restore
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an %ae>%Creset' --abbrev-commit --date=format:'%Y-%m-%d %H:%M:%S'
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
line-numbers = true