-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
82 lines (61 loc) · 1.6 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
[user]
name = nickp-real
email = [email protected]
[credential]
helper = store
[core]
autocrlf = input
editor = nvim
pager = delta
[diff]
algorithm = histogram
indentHeuristic = true
tool = nvimdiff
[difftool "nvimdiff"]
cmd = nvim -d $LOCAL $REMOTE -c 'wincmd w' -c 'wincmd L'
[merge]
tool = nvimdiff4
autoStash = true
[mergetool]
prompt = false
keepBackup = false
[mergetool "nvimdiff4"]
cmd = nvim -d $LOCAL $BASE $REMOTE $MERGED -c 'wincmd w' -c 'wincmd J'
[safe]
directory = *
directory = /home/nickp_real/.cache/yay/auto-cpufreq/src/opt/auto-cpufreq/
[color]
ui = true
[advice]
addIgnoredFile = false
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
line-numbers = true
[diff]
colorMoved = default
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
# personal account
[url "[email protected]:nickp-real"]
insteadOf = [email protected]:nickp-real
pushInsteadOf = [email protected]:nickp-real
[includeIf "hasconfig:remote.*.url:[email protected]:SmartSoftAsia/**"]
path = ~/.work.gitconfig
[alias]
adog = log --all --decorate --oneline --graph
adogs = log --all --decorate --oneline --graph --stat
conf = config --global --edit
pr = pull --rebase
[init]
defaultBranch = main
[rebase]
autoStash = true
; [gc]
; autoDetach = false