-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
60 lines (51 loc) · 1.24 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
[user]
name = Michael Odell
email = [email protected]
[color]
ui = auto
[grep]
patternType = perl
lineNumber = true
[log]
decorate = auto
[fetch]
prune = true
tags = true
[alias]
glog = log --graph --oneline
manifest = ls-tree -r --name-only --full-tree HEAD
root = rev-parse --show-toplevel
# https://medium.com/@porteneuve/fix-conflicts-only-once-with-git-rerere-7d116b2cec67
[rerere]
enabled = true
[diff "blackbox"]
textconv = gpg --use-agent -q --batch --decrypt
[diff "sops"]
textconv = sops -d
[push]
default = matching
[merge]
conflictStyle = diff3
tool = Kaleidoscope
[includeIf "gitdir:~/bmc/"]
path = ~/.gitconfig.bmc
[includeIf "gitdir:~/Library/CloudStorage/OneDrive-BMCSoftware,Inc/"]
path = ~/.gitconfig.bmc
[includeIf "gitdir:~/.zsh/plugins/*bmc*/"]
path = ~/.gitconfig.bmc
[pull]
ff = only
[init]
defaultBranch = main
[diff]
tool = Kaleidoscope
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
trustExitCode = true
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[mergetool]
prompt = false