-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
83 lines (83 loc) · 1.77 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; [include]
; ; For secrets that should not be checked into the repository
; path = ~/.gitsecrets.local
[user]
name = Jorge Villalobos
email = mail@minusfive.com
signingkey = 927677DC8C99CD04
[core]
excludesfile = ~/.gitignore
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = `brew --prefix git`/share/git-core/contrib/diff-highlight/diff-highlight | less
[merge]
tool = nvim
summary = true
[diff]
tool = nvim
[alias]
st = status
ci = commit
co = checkout
br = branch
lg = log -p
lgg = log --color --graph --pretty=format:'%C(cyan)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit
ls = ls-files
ign = ls-files -o -i --exclude-standard
up = !git fetch && git rebase --autostash FETCH_HEAD
[color]
diff = always
status = always
branch = always
interactive = always
ui = always
grep = always
[color "status"]
header = normal
added = green
changed = yellow
untracked = red
branch = blue
nobranch = red reverse
[color "branch"]
current = cyan reverse
local = cyan
remote = blue
[color "diff"]
commit = yellow
meta = normal
frag = cyan
func = white bold
old = red
new = green
whitespace = red reverse
[color "decorate"]
branch = cyan
remoteBranch = blue
tag = yellow
stash = magenta
HEAD = cyan bold
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "interactive"]
prompt = magenta
header = black white
help = cyan
error = red reverse
[push]
default = current
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[pull]
rebase = true
[commit]
gpgsign = true
[tag]
gpgsign = true
[init]
defaultBranch = main