-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
59 lines (59 loc) · 1.05 KB
/
gitconfig
File metadata and controls
59 lines (59 loc) · 1.05 KB
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
[user]
name = necojackarc
email = necojackarc@gmail.com
[core]
editor = vim
commentChar = ";"
excludesfile = ~/.gitignore
pager = delta --color-only
[interactive]
diffFilter = delta --color-only
[push]
default = simple
autoSetupRemote = true
followTags = true
[pull]
rebase = true
[alias]
co = checkout
st = status
cp = cherry-pick
dt = difftool
mt = mergetool
pl = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit
[diff]
tool = vimdiff
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[difftool]
prompt = false
trustExitCode = true # abort all diffs by `:cq`
[merge]
tool = vimdiff
conflictstyle = zdiff3
[mergetool]
keepBackup = false
[fetch]
prune = true
pruneTags = true
all = true
[ghq]
root = ~/work/ghq
[commit]
gpgsign = true
[branch]
sort = -committerdate
defaultBranch = main
[tag]
sort = version:refname
[help]
autocorrect = prompt
[rerere]
enabled = true
autoupdate = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true