-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
55 lines (55 loc) · 1.43 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
# Local/private config goes in the include
[include]
path = ~/.gitconfig.local
[alias]
co = checkout
br = branch
st = status
l = log --color --oneline --graph
lg = log --color --pretty=format:'%Cred%h%Creset - %Cblue%ad%Creset - %aN - %s' --date=short
[color]
diff = auto
status = auto
branch = auto
ui = true
[core]
excludesfile = /Users/dwchiang/.gitignore_global
editor = vim
[commit]
# Ref: https://dev.to/sespinozj/git-write-quality-commits-38ph
template = ~/.git-commit-template
gpgsign = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[apply]
whitespace = nowarn
[mergetool]
keepBackup = false
[difftool]
prompt = false
[help]
autocorrect = 1
[push]
# See `git help config` (search for push.default)
# for more information on different options of the below setting.
#
# Setting to git 2.0 default to suppress warning message
default = simple
[pull]
# Since git v2.27
rebase = false
[user]
name = Ernest Chiang
email = dwchiang@gmail.com
signingkey = 497E3F5132703CDB749908C8C9CEFB07A1878177
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[gpg]
program = /opt/homebrew/bin/gpg