-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
76 lines (46 loc) · 1.13 KB
/
.gitconfig
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[apply]
# Detect whitespace errors when applying a patch.
whitespace = fix
[branch]
# Show most recently changed branches first.
sort = -committerdate
[core]
# Use vim as an editor
editor = vim
[commit]
# https://help.github.com/articles/signing-commits-using-gpg/
gpgsign = true
[diff]
# Detect copies as well as renames.
renames = copies
[diff "bin"]
# Use `hexdump` to diff binary files.
textconv = hexdump -v -C
[fetch]
prune = true
[gpg]
# Use SSH key for commit verification
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[help]
# Automatically correct and execute mistyped commands.
autocorrect = 1
[merge]
# Include summaries of merged commits in newly created merge commit messages
log = true
[pull]
rebase = true
[push]
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushautoSetupRemote
autoSetupRemote = true
# Make `git push` push relevant annotated tags when pushing branches out.
followTags = true
[rebase]
autoSquash = true
[init]
defaultBranch = main
[ui]
color = true
[user]
signingKey = ~/.ssh/id_ed25519.pub