-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
102 lines (79 loc) · 1.74 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
[user]
name = John Watson
email = john@dctrwatson.com
[alias]
st = status -sb
co = checkout
ci = commit
lol = log --pretty=format:'%Cred%h %Creset%s %Cgreen(%an)' --graph --decorate
new = ls-files --others --exclude-standard
added = diff --cached --name-only
newauthor = commit --amend --reset-author -C HEAD
subtree-add = "!f() { git subtree add --prefix $2 $1 master --squash; }; f"
subtree-pull = "!f() { git subtree pull --prefix $2 $1 master --squash; }; f"
[format]
pretty = %C(magenta reverse)%h%Creset %Cgreen[%cr]%Creset (%an) %s
[diff]
algorithm = patience
wordRegex = [^[:space:]]
compactionHeuristic = 1
noprefix = true
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
whitespace = red reverse
meta = 11
frag = magenta bold
old = red bold
new = green bold
commit = yellow bold
func = 146 bold
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "status"]
added = yellow
changed = green
untracked = cyan
[help]
autocorrect = 1
[core]
whitespace = tab-in-indent,tabwidth=4,trailing-space,cr-at-eol
autocrlf = input
pager = "diff-so-fancy | less --tabs=4 -RFX"
[push]
default = upstream
[pull]
rebase = true
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
prune = true
[receive]
fsckobjects = true
[pack]
window = 32
depth = 64
deltaCacheSize = 1g
windowMemory = 2g
[url "git@github.com:"]
insteadOf = https://github.com/
[merge]
conflictStyle = zdiff3
[init]
defaultBranch = main
[gpg]
format = ssh
[commit]
gpgsign = true
[include]
path = ~/.local_gitconfig