-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
61 lines (50 loc) · 1.29 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
[core]
excludesfile = /home/cgrady/.gitignore
autocrlf = input
safecrlf = warn
editor = vim
# pager = delta
#[interactive]
# diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false
true-color = always
map-styles = "bold purple => 255 #330033, bold cyan => 255 #000033, bold yellow => 255 #333300"
minus-style = "255 #330000"
plus-style = "255 #003300"
file-style = "cyan"
file-decoration-style = "cyan ul"
hunk-header-decoration-style = "cyan box"
hunk-header-line-number-style = "cyan"
[diff]
colorMoved = default
[alias]
changes = diff --name-status -r
diffstat = diff --stat -r
stdiff = diff --staged -w
st = status
ci = commit
co = checkout
um = fetch origin main:main
unstage = reset HEAD --
lg = log --pretty='format:%C(red)%h%C(auto)%d%C(reset) %s %C(cyan)(%ar)%C(reset)'
new = lg main..HEAD
missing = lg HEAD..main
save = stash save --keep-index
forcepush = push --force-with-lease
bb = !better-git-branch.sh
[push]
default = simple
[pull]
rebase = false
[merge]
# conflictstyle = diff3
tool = vimdiff
[color]
ui = true
[rerere]
enabled = true
[branch]
sort = -committerdate
# vim: ft=gitconfig