-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
64 lines (48 loc) · 1.15 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
[user]
name = Baptiste Clavié
email = [email protected]
[color]
ui = true
[core]
excludesfile = ~/.gitignore
[pager]
show = diff-highlight | less -r
diff = diff-highlight | less -r
[push]
default = simple
[color "status"]
added = green
changed = yellow
untracked = red
[color "diff"]
meta = cyan
[alias]
oops = commit -a --amend --no-edit
yolo = push --force-with-lease
diff-word = diff --word-diff
log-graph = log --graph --decorate --pretty=oneline --abbrev-commit
log-decorate = log --oneline --decorate
[commit]
template = ~/.git-templates/.git_commit_msg
[init]
templatedir = ~/.git-templates
defaultBranch = main
[diff]
compactionHeuristic = true
[rebase]
autosquash = true
autostash = true
[tag]
# Sort tags as version numbers whenever applicable, so 1.10.2 is AFTER 1.2.0.
sort = version:refname
[versionsort]
prereleaseSuffix = -pre
prereleaseSuffix = .pre
prereleaseSuffix = -beta
prereleaseSuffix = .beta
prereleaseSuffix = -rc
prereleaseSuffix = .rc
[include]
path = ~/.git_personnal_config
[pull]
rebase = true