-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
124 lines (101 loc) · 2.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[format]
prettybkp = %Cblue%h%Creset %Cgreen[%ar]%Creset %C(bold)(%an)%C(nobold) %s %C(dim)%b%Creset
[user]
name = Philip Blyth
email = [email protected]
[alias]
aa = add --all
ap = add --patch
br = branch
ca = commit --amend
ci = commit
civ = commit -v
co = checkout
df = diff
st = status
cherry-pick = cherry-pick -x
info = !git config --local -l
rah = !git add --all && git reset --hard
bg = "!sh -c \"git branch --list *$1*\" -"
up = !gitup .
fs = !git flow feature start
ff = !git flow feature finish
fc = !git flow feature checkout
stash-rename = "!_() { rev=$(git rev-parse $1) && git stash drop $1 || exit 1 ; git stash store -m \"$2\" $rev; }; _"
[color]
branch = auto
diff = auto
status = auto
ui = true
# [color "diff-highlight"]
# oldNormal = red bold
# oldHighlight = red bold 52
# newNormal = green bold
# newHighlight = green bold 22
# [color "diff"]
# meta = yellow
# frag = magenta bold
# commit = yellow bold
# old = red bold
# new = green bold
# whitespace = red reverse
[core]
excludesfile = ~/.gitignore
autocrlf = input
attributesfile = ~/.gitattributes
# pager = diff-highlight | less --tabs=4 -RFX
pager = less --tabs=4 -RFX
[interactive]
# diffFilter = diff-highlight
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[git-up "bundler"]
check = true
[git-up "fetch"]
prune = true
[push]
default = simple
[diff]
renames = true
tool = araxis
[difftool]
trustExitCode = false
prompt = false
[merge]
tool = code
conflictstyle = merge
[mergetool]
trustExitCode = false
keepBackup = false
[mergetool "kdiff3"]
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3
[difftool "kdiff3"]
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3
[mergetool "meld"]
path = /sw/bin/meld
[difftool "meld"]
path = /sw/bin/meld
[mergetool "araxis"]
path = /Applications/Araxis Merge.app/Contents/Utilities/compare
keepTemporaries = false
[difftool "araxis"]
path = /Applications/Araxis Merge.app/Contents/Utilities/compare
[mergetool "code"]
cmd = \"/Applications/Visual Studio Code.app/Contents/MacOS/Electron\" \"$BASE\"
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[include]
path = ~/.dotfiles/support/gitconfig.ini
[init]
defaultBranch = main