-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
66 lines (59 loc) · 1.43 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
[user]
email = alejandro.giacometti@gmail.com
name = Alejandro Giacometti
[credential]
helper = "!gopass git-credential $@"
[alias]
lg = log --graph --abbrev-commit --decorate --date=short \
--format=format:'%C(bold cyan)%h%C(reset) %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)%an%C(reset) %C(bold yellow)%d%C(reset)' \
--branches --remotes --tags
branches = branch -vv --all
wdiff = -c core.pager='less -r' diff --patience --word-diff=plain
[branch]
autosetupmerge = true
autosetuprebase = always
rebase = true
[core]
editor = nvim
pager = delta
[diff]
colorMoved = default
[push]
default = simple
autoSetupRemote = true
[merge]
# tool = opendiff
conflictstyle = diff3
[help]
autocorrect = 1
[difftool]
prompt = false
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[color]
ui = true
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.dotfiles/gitconfig.local
[remote "origin"]
prune = true