-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
97 lines (78 loc) · 1.9 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
[include]
path = .gitconfig.local
[alias]
br = branch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit
co = checkout
dc = diff --cached
dt = difftool
dtc = difftool --cached
ff = pull --ff-only
fix = commit --amend
fixall = rebase -i -x \"git fixpair -CHEAD\"
fixf = commit --amend --no-edit
fixpair = commit --amend --reset-author --no-edit
hist = log --color --graph --format=\"%Cred%h%Creset |%C(bold yellow)%d%Creset %s %Cgreen(%ar)%Creset %C(bold blue)<%an/%cn>%Creset\"
mt = mergetool
pushf = push --force-with-lease
st = status
[color]
branch = auto
diff = auto
grep = auto
interactive = auto
showbranch = auto
status = auto
ui = auto
[credential]
helper = osxkeychain
[core]
quotepath = off
excludesfile = ~/.gitignore_global
editor = code --wait
pager = delta --dark
[diff]
algorithm = histogram
compactionHeuristic = true
tool = code
[difftool]
prompt = false
[difftool "code"]
cmd = code --wait --diff \"$LOCAL\" \"$REMOTE\"
[fetch]
prune = true
[format]
pretty = fuller
[init]
defaultBranch = main
[interactive]
diffFilter = delta --dark --color-only
[mergetool]
prompt = false
[mergetool "sourcetree"]
cmd = /Applications/kdiff3.app/Contents/MacOS/kdiff3 \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"
trustExitCode = true
[push]
default = current
autoSetupRemote = true
[pull]
rebase = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[stash]
showPatch = true
[gitreview]
username = randycoulman
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[commit]
template = /Users/randy/.gitmessage