-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
89 lines (89 loc) · 1.96 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
[user]
name = kosl90
email = [email protected]
[color]
ui = true
editor = vim
[alias]
st = status -sb
ts = status -sb
stu = status -sb --untracked-files=no
sti = status -sb --ignored
sta = status -sb --ignored --untracked-files=normal
stv = status -sb --ignored --untracked-files=all
unstage = reset HEAD --
ci = commit
co = checkout
cb = checkout -b
br = branch
df = diff
dc = diff --cached
hist = log --graph --decorate
hist1 = log --oneline --graph --decorate
hist2 = log --format=\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
size = cat-file -s
last = cat-file commit HEAD
ls = ls-files
dw = diff --word-diff
dl = difftool
dlc = difftool --cached
untrack = rm --cache --
dv = difftool --tool=vimdiff
[color "diff"]
whitespace = red reverse
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
[credential]
helper = cache --timeout=36000
[push]
default = current
[core]
safecrlf = true
editor = nvim
excludesfile = ~/.gitignore_global
pager = delta
ignorecase = false
autocrlf = false
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
features = side-by-side decorations
light = false # set to true if you're in a terminal w/ a light background color
syntax-theme = "Visual Studio Dark+" #"TwoDark" #"Monokai Extended"
# syntax-theme = "TwoDark" #"Monokai Extended"
plus-style = "syntax #3CB371"
[log]
decorate = true
[diff]
wordRegex = \\S|\\s$
tool = vimdiff
colorMoved = default
[difftool "vimdiff"]
cmd = vimdiff \"$REMOTE\" \"$LOCAL\"
[clean]
requireForce = false
[grep]
lineNumber = true
[merge]
ff = true
#conflictstyle = diff3
[fetch]
prune = true
[pull]
rebase = true
[commit]
template = ~/.gitmessage
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[http]
# proxy = http://127.0.0.1:xxxx