-
Notifications
You must be signed in to change notification settings - Fork 6
/
gitconfig
82 lines (62 loc) · 1.52 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
[include]
path = ~/dotfiles/themes.gitconfig
[user]
email = git@luan.sh
name = Luan Santos
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[alias]
ci = commit
commit = commit
co = checkout
cp = cherry-pick -x
st = status
l = log --graph --abbrev-commit --date=relative --decorate --pretty=format:\"%C(yellow)%h%C(bold yellow)%d%Creset %C(blue)%s %C(green)(%ad)%Creset %C(magenta) [%an]%Creset \"
lg = log --graph --abbrev-commit --date=relative --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
changes = log --pretty=format:\"%h %cr %cn %Cgreen%s%Creset\" --name-status
[merge]
summary = true
verbosity = 1
conflictstyle = diff3
[apply]
whitespace = nowarn
[branch]
autosetupmerge = true
[push]
default = tracking
recurseSubmodules=check
[core]
autocrlf = false
editor = vim
excludesfile = ~/luan/.gitignore_global
pager = delta
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
syntax-theme = TwoDark
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = true
[advice]
statusHints = false
[diff]
colorMoved = default
[rerere]
enabled = true
[url "git@github.com:"]
pushInsteadOf = "https://github.com/"
[submodule]
fetchJobs = 16
[hub]
protocol = https