-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
79 lines (79 loc) · 1.55 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
77
78
79
[user]
name = @cobyism
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKLfUl1WcJGXOIlXyFeRocb0ti56jYvpfOh14JEfM3Md
[github]
user = cobyism
[heroku]
account = coby
[credential]
helper = osxkeychain
[alias]
b = branch
cl = clone
cm = commit
co = checkout
d = diff
i = init
l = log
m = merge
s = status -sb
t = tag
g = log --graph --all --oneline
undo = reset --soft HEAD^
count = shortlog -sn
[apply]
whitespace = nowarn
[color]
diff = auto
status = auto
branch = auto
ui = auto
[core]
excludesfile = ~/.gitignore
autocrlf = input
quotepath = false
editor = code
# pager = diff-so-fancy | less --tabs=1,5 -R
pager = delta
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[help]
autocorrect = 1
[hub]
protocol = https
[mergetool]
keepBackup = true
[push]
default = simple
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main
[http]
postBuffer = 524288000
# For Delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[gpg]
format = ssh
[gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
[commit]
gpgsign = true
[pull]
rebase = true