-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
50 lines (40 loc) · 899 Bytes
/
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
[user]
name = Mathieu Comandon
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
ui = true
[color "diff"]
whitespace = red reverse
[merge]
tool = meld
[mergetool]
prompt = false
[mergetool "meld"]
cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
[push]
default = current
[core]
editor = vim
excludesfile = ~/.gitignore_global
whitespace = space-before-tab,cr-at-eol
autocrlf = input
[alias]
st = status -sb
co = checkout
pul = pull
psh = push
undo = reset --soft HEAD^
who = shortlog -sn
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
g = grep --break --heading --line-number
[rerere]
enabled = true
[grep]
lineNumber = true
[pull]
rebase = true
[init]
defaultBranch = main