-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
48 lines (47 loc) · 1.09 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
[user]
name = Kyle Longhurst
email = kyle@longhurst.dev
[pull]
rebase = true
[branch]
autosetuprebase = always
[alias]
rh = reset --hard HEAD
b = checkout -b
co = checkout
ca = commit -a --verbose
cp = cherry-pick
amend = commit -a --amend --no-edit
unstage = reset --soft HEAD
cdiff = "!git diff $1 $1^"
[push]
default = current
[core]
pager = delta --theme="night-owlish"
excludesfile = /Users/kylelonghurst/.gitignore_global
[interactive]
diffFilter = delta --color-only
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[init]
defaultBranch = main
[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
[commit]
template = /Users/kylelonghurst/.stCommitMsg