-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
59 lines (49 loc) · 1.18 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
[user]
name = k-yokoishi
email = ss.xs.m713@gmail.com
[color]
ui = auto
[alias]
br = branch
co = checkout
cm = commit
df = diff
st = status
graph = log --graph --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s'
gr = log --graph --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s'
current-branch-name = ! git branch | grep -e '^\\* ' | sed -e 's/^\\* //g'
force-pull = !git fetch && git reset --hard origin/$(git current-branch-name)
[ghq]
root = ~/go/src
[color "diff"]
# meta = 242 238
frag = 239 236
old = 167
new = cyan
context = 248
# commit = 246 024
[diff]
compactionHeuristic = true
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
navigate = true
[interactive]
diffFilter = delta --color-only
[color "status"]
added = green bold
changed = cyan bold
untracked = 167 bold
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main