-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgitconfig
94 lines (75 loc) · 1.63 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
87
88
89
90
91
92
93
94
[alias]
br = branch -vv
co = checkout
ci = commit -v
dc = diff --cached
ds = diff --stat
dw = diff --color-words
fix = commit --amend --no-edit
flush = !git add -A && git commit -m flush && git reset --hard HEAD@{1}
l = log --graph
la = log --graph --all
lgg = log --walk-reflogs --decorate --pretty=oneline --abbrev-commit
lg = log --graph
lo = log --graph @{upstream}..
lgs = log --graph --stat
lp = log --patch
lpw = log --patch --color-words
ls = log --stat
pr = !git co master && git pull && git co @{-1} && git rb master
rb = rebase
ri = rebase -i
st = status
unstage = reset --
[color "diff"]
old = red bold
new = green bold
frag = magenta bold
[format]
pretty = format:%C(auto)%h%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset
[core]
autocrlf = false
pager = delta
sparseCheckout = true
untrackedCache = true
excludesfile = ~/.gitignore_global
[credential]
helper = store
[branch]
sort = -authordate
[commit]
verbose = true
[delta]
navigate = true
[diff]
algorithm = histogram
colorMoved = true
renamelimit = 0
renames = copy
ignoreSubmodules = dirty
[merge]
conflictstyle = zdiff3
[log]
date = auto:human
[status]
branch = true
short = true
showUntrackedFiles = all
[rebase]
autosquash = true
autostash = true
stat = true
[rerere]
enabled = true
[fetch]
prune = true
[pull]
ff = only
[push]
followTags = true
[interactive]
diffFilter = delta --color-only
[user]
useConfigOnly = true
[tig]
line-graphics = utf-8