-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig_global
68 lines (67 loc) · 1.53 KB
/
.gitconfig_global
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
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
editor = /usr/bin/vim
[alias]
st = status
di = diff
df = diff
co = checkout
ci = commit
fixup = commit --fixup
squash = commit --squash
cp = cherry-pick
pl = pull --rebase
br = branch
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
dc = diff --cached
unstage = reset HEAD
rum = rebase master@{u}
rb = rebase
[apply]
whitespace = nowarn
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = true
[branch]
autosetupmerge = true
[rebase]
autosquash = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[grep]
linenumber = true
[push]
default = simple
[url "[email protected]:"]
insteadOf = https://github.com/
[diff]
compactionHeuristic = true
[merge]
conflictstyle = diff3
[commit]
verbose = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse