dotfiles

Alpine Linux dotfiles

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

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