-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig
70 lines (70 loc) · 1.47 KB
/
dot_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
[user]
email = [email protected]
name = Nicolas Epstein
[init]
defaultBranch = main
[core]
excludesFile = ~/.gitignore
pager = delta
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[commit]
verbose = true
[fetch]
prune = true
pruneTags = true
all = true
[pull]
rebase = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true ; use i/, w/ and c/ for index, worktree and commit instead of a/, b/, c/...
renames = true
[merge]
conflictStyle = diff3
tool = nvimdiff
guitool = meld
[rerere]
enabled = true
autoUpdate = true
[mergetool]
keepBackup = false
[mergetool "meld"]
cmd = flatpak run org.gnome.meld -- "$LOCAL" "$MERGED" "$REMOTE"
[delta]
navigate = true
[interactive]
diffFilter = delta --color-only
[transfer]
fsckObjects = true
[url "[email protected]:"]
insteadOf = "https://github.com/"
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[help]
autoCorrect = prompt
[advice]
mergeConflict = false
[alias]
fixup = commit --fixup
last = log -1 HEAD --ext-diff
today = log --since 00:00:00 --all --no-merges --oneline --author [email protected] --ext-diff
co = checkout
sho = show --ext-diff
unstage-commit = !git reset HEAD^ && git commit --reuse-message ORIG_HEAD --allow-empty --no-verify