-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
34 lines (34 loc) · 995 Bytes
/
.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
[color]
diff = auto
status = auto
branch = auto
[push]
default = simple
[core]
excludesfile = /Users/jason.walker/.gitignore_global
[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
[credential]
helper = store
[commit]
template = ~/.stCommitMsg
gpgsign = true
[rerere]
enabled = true
[gpg]
program = gpg2
[user]
signingkey = D39AF0B2
name = Jason Walker
[alias]
lg = log --color --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)%an <%ae>%Creset / %C(bold magenta)%cn <%ce>%Creset'
local-prune = ! git branch --merged main | grep -Ev '(^\\*|master|main)' | xargs -n 1 git branch -d
diff-ws = diff -w -U0 --word-diff-regex=[^[:space:]]
[pull]
rebase = true
[fetch]
prune = true