dotfiles

Alpine Linux dotfiles

git clone git://git.lin.moe/dotfiles.git

 1[core]
 2	logallrefupdates = true
 3	quotePath = false
 4	commitGraph = true
 5	excludesFile = .mygitignore
 6[diff]
 7	algorithm = histogram
 8
 9[user]
10	name = Linsen Zhou
11	email = i@lin.moe
12	signingkey = 7EB223B9B0D814B9
13
14[init]
15	defaultBranch = master
16[push]
17	default = simple
18	followTags = yes
19[pull]
20	rebase = true
21[fetch]
22	writeCommitGraph = true
23[commit]
24	gpgsign = false
25
26[gpg]
27	program = gpg2
28
29[alias]
30	lg = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
31	undo = reset --soft HEAD^
32[commitGraph]
33        changedPathsVersion = 1 # version 2 need too much memory
34[sendemail]
35	smtpserver = /usr/bin/msmtp
36	smtpserveroption = -a
37	smtpserveroption = lin
38	annotate = yes
39
40[credential]
41	helper = !pass-git-helper $@
42	username = lindsay
43[credential "https://github.com"]
44	username = LindsayZhou
45[credential "https://gitee.com"]
46	username = lindsayzhou
47
48[gc]
49	reflogexpire = 90
50	writeCommitGraph = true
51
52[filter "lfs"]
53	clean = git-lfs clean -- %f
54	smudge = git-lfs smudge -- %f
55	process = git-lfs filter-process
56	required = true
57
58[include]
59	path = ~/.gitconfig
60
61[receive]
62	advertisePushOptions = true
63	procReceiveRefs = refs/for
64
65[safe]
66	directory = *
67
68[uploadpack]
69	allowfilter = true
70	allowAnySHA1InWant = true
71
72[url "ssh://git@gitee.com/linakesi"]
73    insteadOf = https://gitee.com/linakesi
74[format]
75	signOff = false
76
77[includeIf "hasconfig:remote.*.url:https://github.com/**"]
78        path = ~/.config/git/config.github
79
80[includeIf "hasconfig:remote.*.url:https://gitlab.alpinelinux.org/**"]
81        path = ~/.config/git/config.lindsay
82
83[includeIf "hasconfig:remote.*.url:https://gitee.com/linakesi/**"]
84        path = ~/.config/git/config.linakesi
85
86[includeIf "hasconfig:remote.*.url:http://*.lan/**"]
87        path = ~/.config/git/config.lan