-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitconfig
144 lines (112 loc) · 2.66 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
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
[alias]
br = branch
branches = branch -a -vv
cleanup = !git remote prune origin && git gc && git clean -df && git stash clear
clone = clone --recursive
co = checkout
d = diff
staged = diff --cached
flog = log --pretty=fuller --decorate
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %Cblue[%cN]%Creset' --abbrev-commit --date=relative
logc = log --graph --pretty=format:'%C(yellow)commit %h %Creset(%cr)%nAuthor: %C(green)%aN <%aE>%Creset%n%n %Cblue%s%Creset%n '
ls = log --all --pretty=format:'%C(red)%ad %C(reset)[%cN]%C(magenta)%d%C(reset) %s%C(reset)' --abbrev-commit --since=2.weeks --date="local" -30
st = status -sb
uncommit = reset HEAD~1
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "diff"]
whitespace = red reverse
meta = yellow
commit = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color]
diff = auto
status = auto
branch = auto
ui = true
interactive = auto
colorMoved = default
[merge]
tool = vim
stat = true
keepBackup = false
conflictstyle = diff3
[core]
excludesfile = ~/.gitignore
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
attributesfile = ~/.gitattributes
[apply]
whitespace = nowarn
[help]
autocorrect = 1
[branch]
autosetuprebase = always
autosetupmerge = true
[push]
default = tracking
[difftool]
prompt = false
trustExitCode = true
[diff]
tool = vim
renames = copies
mnemonicprefix = true
[difftool "vim"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[get]
recurseSubmodules = always
[mergetool]
prompt = false
[include]
path = ~/.gitconfig.local
[rebase]
autosquash = true
[credential]
helper = osxkeychain
[rerere]
enabled = 1
[advice]
statusHints = false
[diff-so-fancy]
first-run = false
[url "git@github.com:"]
insteadOf = https://github.com/
[pull]
rebase = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[format]
signOff = Signed-off-by: Faun <git@faun.me>
[interactive]
diffFilter = delta --color-only
[delta]
true-color = always
side-by-side = true
navigate = true
features = side-by-side line-numbers decorations
syntax-theme = Nord
[commit]
gpgsign = true
# vim: set ft=gitconfig ts=2 sw=2 et: