summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 7dc9bf36ff4509d4abedd79f945ce147a24f4272 (plain)
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
[credential "https://github.com"]
	helper = !gh auth git-credential
[credential "https://gist.github.com"]
	helper = !gh auth git-credential
[user]
	name = Kyren223
	email = contact@kyren.codes
	signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren contact@kyren.codes
[init]
	defaultBranch = master
[core]
	editor = nvim
    pager = delta --syntax-theme='Monokai Extended'
    excludesFile = /home/kyren/.config/git/ignore
    compression = 9 # Trade CPU for network/disk
    whitespace = error
    preloadindex = true # Trade RAM for small speed improvement
[interactive]
	diffFilter = delta --color-only
[delta]
	features = decorations
[commit]
	gpgSign = true
[gpg]
	format = ssh
[log]
	date = iso
[url "git@kyren.codes:kyren223/"]
    insteadOf = "k:"
[url "git@github.com:kyren223/"]
    insteadOf = "kgh:"
[url "git@github.com:"]
    insteadOf = "gh:"
[url "git@gitlab.com:"]
    insteadOf = "gl:"
[url "git@kyren.codes:"]
    insteadOf = "gt:"
[url "git@kyren.codes:mirrors/"]
    insteadOf = "mirrors:"
[status]
    showStash = true
    showUntrackedFiles = all
[push]
    autoSetupRemote = true
    default = current
    followTags = true
[pull]
    default = current
    rebase = true
[rebase]
    autoStash = true
    missingCommitsCheck = warn