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[includeIf "hasconfig:remote.*.url:https://gitlab.alpinelinux.org/**"]
13        path = ~/.config/git/config.lindsay
14
15[init]
16	defaultBranch = master
17[push]
18	default = simple
19	followTags = yes
20[pull]
21	rebase = true
22[fetch]
23	writeCommitGraph = true
24[commit]
25	gpgsign = true
26
27[gpg]
28	program = gpg2
29
30[alias]
31	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)\"
32	undo = reset --soft HEAD^
33[commitGraph]
34        changedPathsVersion = 1 # version 2 need too much memory
35[sendemail]
36	smtpserver = /usr/bin/msmtp
37	smtpserveroption = -a
38	smtpserveroption = lin
39	annotate = yes
40
41
42[credential]
43	helper = !pass-git-helper $@
44	username = lindsay
45[credential "https://github.com"]
46	username = LindsayZhou
47[credential "https://gitee.com"]
48	username = lindsayzhou
49
50[gc]
51	reflogexpire = 90
52	writeCommitGraph = true
53
54[filter "lfs"]
55	clean = git-lfs clean -- %f
56	smudge = git-lfs smudge -- %f
57	process = git-lfs filter-process
58	required = true
59
60[include]
61	path = ~/.gitconfig
62
63[receive]
64	advertisePushOptions = true
65	procReceiveRefs = refs/for
66[safe]
67	directory = *
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 = true