-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
81 lines (81 loc) · 2.14 KB
/
dot_gitconfig
File metadata and controls
81 lines (81 loc) · 2.14 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
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
[init]
defaultBranch = main
[core]
pager = delta
excludesfile = ~/.gitignore
editor = nvim
ignorecase = false
quotepath = false
safecrlf = true
autocrlf = false
fiilemode = false
[color]
ui = auto
interactive = auto
[alias]
sw = switch
re = restore
st = status
co = checkout
ci = commit
df = diff
br = branch
ch = cherry-pick
sb = submodule
ls = !git ls-files -t|perl -pe 's/\\/.*/\\//'|uniq -c
ll = !git ls-files -cdmokt|perl -pe 's/\\/.*/\\//'|grep -v '/'
la = ls-files -cdmokt
lg = !git log --stat --abbrev-commit --color | less
lgg = !git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | less
lggg = !git log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | less
noff = merge --no-ff
com = !git switch $(git symbolic-ref refs/remotes/origin/HEAD | cut -d '/' -f4)
[pager]
branch = false
tag = false
[interactive]
diffFilter = delta --color-only
[pull]
rebase = false
[push]
default = current
[commit]
gpgsign = true
[merge]
tool = vimdiff
[mergetool]
keepBackup = false
[fetch]
prune = true
[diff]
colorMoved = default
tool = vimdiff
[difftool]
prompt = false
[user]
name = Yuta OHWATARI
email = y.ohwatari@cartahd.com
[url "git@github.com:"]
insteadOf = git://github.com/
insteadOf = https://github.com/
[url "git@gist.github.com:"]
pushInsteadOf = https://gist.github.com/
[url "git@git.hub.fluct.me:"]
pushInsteadOf = git://git.hub.fluct.me/
pushInsteadOf = https://git.hub.fluct.me/
[ghq]
root = ~/src
[delta]
features = line-numbers
whitespace-error-style = 22 reverse
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
navigate = true
paging = always
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential