-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_gitconfig
More file actions
51 lines (49 loc) · 1.29 KB
/
Copy pathdot_gitconfig
File metadata and controls
51 lines (49 loc) · 1.29 KB
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
# base setting
[core]
excludesfile = ~/.gitignore
autoCRLF = false
ignorecase = false
pager = delta
untrackedCache = true
fsmonitor = true
[user]
name = ShotaKitazawa
email = skitazawa1121@gmail.com
[credential]
helper = cache
[http]
sslVerify = true
[color]
branch = auto
diff = auto
status = auto
interactive = auto
[push]
default = current
[merge]
conflictstyle = zdiff3
[diff]
colorMoved = default
tool = difftastic
#external = difft
[difftool]
prompt = false
[pager]
difftool = true
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=iso-local
lol = log --graph --pretty='format:%C(auto)%h %d %s %C(green)%an%C(bold blue) %ad' --date=iso-local
lola = log --graph --pretty='format:%C(auto)%h %d %s %C(green)%an%C(bold blue) %ad' --all --date=iso-local
rebase-from = !sh -c 'git rebase -i $(git merge-base $1 HEAD)' -
diffbase = "!f() { ! git show-ref --verify --quiet \"refs/heads/$1\" && { echo branch \"$1\" is not found; exit 1; }; git diff $(git merge-base HEAD \"$1\") HEAD; }; f"
[ghq]
user = ShotaKitazawa
root = ~/.ghq
[delta]
navigate = true
side-by-side = true
line-numbers = true
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[include]
path = ~/.gitconfig.local