blob: 06237b0c6ddbe0e9bf2c9a14988c28b42a87e1c6 (
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
|
#
# ~/.gitconfig
# User's global Git configuration file
#
# Credit:
# * https://gist.github.com/pksunkara/988716
#
# References:
# [1] A Git Horror Story: Repository Integrity with Signed Commits
# https://mikegerwitz.com/papers/git-horror-story.html
# [2] What are the advantages and disadvantages of cryptographically
# signing commits and tags in Git?
# https://softwareengineering.stackexchange.com/a/212216
#
# Aaron LI
#
[core]
# Use 'less' as the pager and display tabs of width 8
pager = less -x1,9
[user]
name = Aaron LI
email = aly@aaronly.me
signingKey = aly@aaronly.me
[push]
default = simple
[commit]
template = ~/.gitmessage
[tag]
# Sign every tag
gpgSign = true
[diff]
# Show space and tabs
wsErrorHighlight = all
# Large file storage
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
|