Skip to content

Commit 16e9cc4

Browse files
git: reorder config sections
1 parent 2db5ffd commit 16e9cc4

1 file changed

Lines changed: 32 additions & 19 deletions

File tree

git/config

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,47 @@
22
name = Jonas Malaco
33
44
signingkey = 06af7ad0
5-
[color]
6-
ui = true
7-
[push]
8-
default = simple
5+
96
[core]
107
excludesfile = ~/.gitignore.global
118
abbrev = 12
129
pager = less
10+
11+
[init]
12+
defaultBranch = main
13+
14+
[push]
15+
default = simple
16+
17+
[pull]
18+
rebase = false
19+
20+
[color]
21+
ui = true
22+
23+
[alias]
24+
klog = log --abbrev=12 --graph --decorate --pretty='%C(auto)%d %C(reset)%C(auto)%h %C(reset)(\"%s\")%C(reset)'
25+
head = !git --no-pager log --abbrev=12 --oneline --format='%h' -1
26+
pulls = fetch origin "+refs/pull/*:refs/origin/pull/*"
27+
upulls = fetch upstream "+refs/pull/*:refs/upstream/pull/*"
28+
1329
[filter "lfs"]
1430
clean = git-lfs clean -- %f
1531
smudge = git-lfs smudge --skip -- %f
1632
required = true
1733
process = git-lfs filter-process --skip
34+
35+
36+
insteadOf = "gh:"
37+
38+
39+
insteadOf = "gl:"
40+
41+
# Patch-based workflows.
42+
43+
[format]
44+
signOff = true
45+
1846
[sendemail]
1947
smtpencryption = tls
2048
smtpserver = smtp.gmail.com
@@ -23,18 +51,3 @@
2351
annotate = true
2452
confirm = always
2553
suppressfrom = false
26-
[alias]
27-
klog = log --abbrev=12 --graph --decorate --pretty='%C(auto)%d %C(reset)%C(auto)%h %C(reset)(\"%s\")%C(reset)'
28-
head = !git --no-pager log --abbrev=12 --oneline --format='%h' -1
29-
pulls = fetch origin "+refs/pull/*:refs/origin/pull/*"
30-
upulls = fetch upstream "+refs/pull/*:refs/upstream/pull/*"
31-
[pull]
32-
rebase = false
33-
[init]
34-
defaultBranch = main
35-
36-
insteadOf = "gh:"
37-
38-
insteadOf = "gl:"
39-
[format]
40-
signOff = true

0 commit comments

Comments
 (0)