-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy path.gitconfig
90 lines (90 loc) · 1.79 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
[user]
email = jonas@devlieghere.com
name = Jonas Devlieghere
[core]
editor = nvim
fsmonitor = true
untrackedCache = true
[fetch]
prune = true
pruneTags = true
all = true
[pull]
rebase = true
[push]
default = simple
autoSetupRemote = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[branch]
sort = -committerdate
[checkout]
defaultRemote = origin
[rerere]
enabled = true
autoupdate = true
[grep]
extendRegexp = true
lineNumber = true
[color]
branch = auto
diff = auto
status = auto
ui = true
[commit]
gpgsign = true
verbose = false
[diff]
tool = nvimdiff
[diff "bin"]
textconv = hexdump -v -C
[merge]
tool = nvimdiff
conflictstyle = zdiff3
[help]
autocorrect = 1
[status]
showuntrackedfiles = all
[init]
defaultBranch = main
[credential]
helper = cache --timeout=3600
[column]
ui = auto
[alias]
aa = add --all
amend = commit --amend
anw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
ca = diff --cached
co = checkout
cp = cherry-pick
dt = difftool --no-prompt
fall = log --all --grep
find = log --grep
fmt = clang-format
git = "!exec git"
graph = log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%x20(%ce)%n%x20%s%n"
mt = mergetool --no-prompt
nopush = !sh -c 'git remote set-url --push $1 /dev/null' -
ours = checkout --ours
patch = show HEAD -U999999
sha = rev-parse HEAD
st = status
theirs = checkout --theirs
uncommit = reset HEAD~
unstage = reset HEAD --
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[delta]
line-numbers = true
side-by-side = true
syntax-theme = "Solarized (dark)"
navigate = true
dark = true
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""