-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
57 lines (57 loc) · 1.21 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
[user]
name = Daniel Schaffrath
email = [email protected]
[push]
default = simple
[hub]
protocol = https
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[color]
ui = auto
[http]
cookiefile = ~/.gitcookies
[core]
pager =
excludesfile = ~/.gitignore_global
autocrlf = input
[alias]
co = checkout
cp = cherry-pick
d = diff
df = diff
g = grep --break --heading --line-number
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
p = pull
pp = push
reauthor = !bash -c 'git rebase --onto $1 --exec \"git commit --amend --author=\\"$2\\"\" $1' --
r = remote
rl = reflog --pretty=reflog
[pretty]
reflog = %C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)
[gc]
reflogexpire = never
auto = 0
reflogexpireunreachable = never
[rerere]
enabled = true
autoupdate = true
[diff]
submodule = log
[init]
defaultBranch = main
[diff "jsondiff"]
command = $HOME/bin/json_diff
# textconv = gron
[pull]
rebase = false
[pager]
diff = false
[protocol "file"]
allow = always