-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
86 lines (68 loc) · 1.44 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
84
85
86
[user]
email = cyril@boardgamearena.com
name = Cyril Mizzi
[core]
pager = delta
whitespace = trailing-space,space-before-tab
autocrlf = input
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
line-numbers = true
[mergetool "gitmerger"]
cmd = /home/cmizzi/Code/git-merger/target/debug/git-merger "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
trustExitCode = true
[alias]
fs = !git fetch && git status -sb
st = status
s = status -sb
c = checkout
cm = checkout master
nb = checkout -b
up = pull --rebase=merges --autostash
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit
lga = !"git lg --all"
ll = !"rat --mode git.log --cmd 'git lg'"
ui = !"gitui"
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[apply]
whitespace = nowarn
[pull]
default = rebase
[merge]
tool = kdiff3
summary = true
keepbackup = false
[cola]
tabwidth = 4
fontdiff = Source Code Pro for Powerline,8,-1,5,50,0,0,0,0,0
textwidth = 80
linebreak = false
spellcheck = false
[rerere]
enabled = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[gui]
editor = vim
[commit]
# gpgsign = true
[init]
defaultBranch = main