-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
46 lines (35 loc) · 962 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
# ~/.config/git/config
[user]
email = dev@richardebeling.de
name = Richard Ebeling
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pushf = push --force-with-lease --force-if-includes
fetchf = fetch --force --tags --prune
blamef = blame -w -C -C
[core]
pager = delta
excludesfile = ~/.vim/global_gitignore
[push]
default = simple
[pull]
ff = only
[rebase]
updateRefs = true # update base branches of stacked branches when rebasing
[feature]
# manyFiles = true # breaks git-absorb, should be fixed in the future (see git-absorb#81)
[rerere]
enabled = true
[interactive]
diffFilter = delta --color-only
[diff]
noPrefix = true # remove a/ and b/ prefixes in git diff
colorMoved = default
[merge]
conflictstyle = zdiff3
[delta]
navigate = true
linenumbers = true
diff-highlight = true
hyperlinks = true
keep-plus-minus-markers = true