-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
executable file
·75 lines (71 loc) · 1.8 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
[user]
name = Craig Kochis
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = always
[alias]
stat = status -s
st = status -sb
ci = commit
co = checkout
br = branch
cp = cherry-pick
m = merge --no-ff --no-commit
f = fetch --prune
pre = pull --rebase
cleanbr = !git branch -r --no-color --merged | grep -v \"\\(master\\|develop\\|integration\\)\" | sed \"s/\\// :/\" | xargs -L1 git push && git branch --no-color --merged | grep -v \"\\(master\\|develop\\)\" | xargs -L1 git br -d
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
head = !git l -1
h = !git head
r = !git l -20
ra = !git r --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
l = log --graph --abbrev-commit --date=relative
la = !git l --all
div = divergence
gn = goodness
gnc = goodness --cached
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
[merge]
summary = false
keepBackup = false
tool = p4merge
[mergetool "p4merge"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "$PWD/$BASE" "$PWD/$REMOTE" "$PWD/$LOCAL" "$PWD/$MERGED"
keepTemporaries = false
keepBackup = false
[diff]
tool = p4merge
[difftool]
prompt = false
[rerere]
enabled = true
[push]
default = tracking
[core]
excludesfile = ~/.gitignore_global
editor = nvim
trustctime = false
[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
[branch]
autosetupmerge=true