-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.dotfile
64 lines (52 loc) · 1.09 KB
/
gitconfig.dotfile
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
[include]
path = "~/.config/computar/git-identity"
[add.interactive]
useBuiltin = false # required for git 2.37.0
[alias]
a = add
ap = add --patch
br = branch
ci = commit
co = checkout
d = diff
da = diff --cached
st = status
l = "! milpa code log"
todo = "! milpa code todo"
[core]
excludesfile = ~/.gitignore
editor = vim
quotepath = false
autocrlf = input
pager = delta --true-color auto --syntax-theme=ansi --max-line-length=0
[delta]
navigate = true
[merge]
summary = true
conflictstyle = diff3
[diff]
colorMoved = true
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[push]
default = current
[credential]
helper = osxkeychain
[pull]
rebase = true
[init]
defaultBranch = main
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[branch]
# https://stackoverflow.com/questions/5480069/autosetuprebase-vs-autosetupmerge
# track origin branches automagically
autosetupmerge = always
# rebase when pulling from remotes
autosetuprebase = always