-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot_gitconfig
46 lines (44 loc) · 1.06 KB
/
dot_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
# base setting
[core]
excludesfile = ~/.gitignore
autoCRLF = false
ignorecase = false
pager = delta
[user]
name = ShotaKitazawa
email = skitazawa1121@gmail.com
[credential]
helper = cache
[http]
sslVerify = true
[url "git@github.com:"]
insteadOf = https://github.com/
[color]
branch = auto
diff = auto
status = auto
interactive = auto
[interactive]
diffFilter = delta --color-only
[push]
default = tracking
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
lol = log --graph --pretty='format:%C(auto)%h %d %s %C(green)%an%C(bold blue) %ad' --date=short
lola = log --graph --pretty='format:%C(auto)%h %d %s %C(green)%an%C(bold blue) %ad' --all --date=short
rebase-from = !sh -c 'git rebase -i $(git merge-base $1 HEAD)' -
# setting for external tools
[ghq]
user = ShotaKitazawa
root = ~/.ghq
[delta]
navigate = true
side-by-side = true
line-numbers = true
# others
[include]
path = ~/.gitconfig.local