-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
144 lines (120 loc) · 3.16 KB
/
Copy path.gitconfig
File metadata and controls
144 lines (120 loc) · 3.16 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[user]
name = Jackson Cooper
email = jackson.cooper@servictoria.com.au
[alias]
d = diff
dc = diff --cached
ds = diff --stat
g = grep
ls = ls-files
l = log -p --ext-diff
rt = remote
ss = stash
st = status
stash-all = stash save --include-untracked
undo = reset --soft HEAD^
[branch]
; Auto track remote branches on local branch creation.
autoSetupMerge = always
[color]
ui = auto
[core]
excludesfile = ~/.gitignore
editor = nvim
; Enable additional caching of file system data for some operations.
; Git for Windows uses this to bulk-read and cache lstat data of
; entire directories (instead of doing lstat file by file).
fscache = true
; Don't ignore case changes.
ignorecase = false
; https://github.com/dandavison/delta
pager = delta
[include]
path = ~/.config/delta/themes.gitconfig
[delta]
navigate = true
line-numbers = true
dark = true
pager = less
hyperlinks = true
; Pick a theme by uncommenting one:
; features = collared-trogon
; features = colibri
; features = coracias-caudatus
; features = hoopoe
; features = tangara-chilensis
; features = villsau
; features = woolly-mammoth
; features = calochortus-lyallii
; features = mantis-shrimp
; features = mantis-shrimp-lite
; features = zebra-dark
; features = zebra-light
; features = chameleon
features = gruvmax-fang
; features = discord
; features = mellow-barbet
; features = arctic-fox
; features = corvus
; features = platypus
; features = weeping-willow
; features = mirthful-willow
[delta "interactive"]
keep-plus-minus-markers = false
[diff]
; Enable basic rename and copy detection.
renames = copies
colorMoved = default
[difftool]
; Don't prompt before each invocation of the diff tool.
prompt = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[gpg]
program = /usr/local/bin/gpg
[help]
; Automatically correct and execute mistyped commands.
autoCorrect = 1
[interactive]
diffFilter = delta --color-only --features=interactive
[log]
date = relative
[merge]
tool = fugitive
; Display diffs between the ancestral commit and each of the two merge parents.
conflictstyle = zdiff3
[mergetool]
; Don't prompt before each invocation of the merge resolution program.
prompt = false
; After performing a merge, don't save the original file
; with conflict markers as a file with a .orig extension.
keepBackup = false
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[push]
default = current
autoSetupRemote = true
[rerere]
enabled = true
[pull]
rebase = false
[fetch]
prune = true
[init]
defaultBranch = master
templatedir = ~/.git-templates
; Machine-specific config (user.email, credentials, etc.)
[include]
path = ~/.gitconfig.local
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential