-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
94 lines (94 loc) · 2.13 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
90
91
92
93
94
[user]
name = iwataka
email = ap.gr.le@gmail.com
[core]
autocrlf = false
filemode = false
bare = false
quotepath = false
longpaths = true
[paper]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold #line info
old = red # deletions
new = green # additions
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
# Detect copies as well as renames
renames = copies
[diff "bin"]
# Use `hexdump` to diff binary files
textconv = hexdump -v -C
[help]
# Automatically correct and execute mistyped commands
autocorrect = 1
[merge]
# Include summaries of merged commits in newly created merge commit
# messages
log = true
[push]
default = simple
# Make `git push` push relevant annotated tags when pusshing branches
# out.
followTags = true
[alias]
a = add
aa = add --all
apa = add --patch
d = diff
st = status
sb = status -sb
b = branch
ba = branch -a
c = commit -v
cmsg = commit -m
ca = commit --amend
p = push
l = pull
m = merge
r = remote
ra = remote add
rset = remote set-url
rb = rebase
rbi = rebase -i
rh = reset HEAD
rhh = reset HEAD --hard
lg = log --stat --color
lgp = log --stat --color -p
lgg = log --graph --color
lgga = log --graph --decorate --all
lgm = log --graph --max-count=10
lo = log --oneline --decorate --color
lol = log --graph --pretty=format:\"%Cred%h%Creset\\ -%C(yellow)%d%Creset\\ %s\\ %Cgreen(%cr)\\ %C(bold blue)<%an>%Creset\" --abbrev-commit
lola = log --graph --pretty=format:\"%Cred%h%Creset\\ -%C(yellow)%d%Creset\\ %s\\ %Cgreen(%cr)\\ %C(bold blue)<%an>%Creset\" --abbrev-commit --all
cl = clone --recursive
co = checkout
cb = checkout -b
cp = cherry-pick
aa = add --all
sf = submodule foreach
[github]
user = iwataka
[hub]
protocol = https
[include]
# If you want to access the Internet via proxy server, you should write
# the following sentence to .gitconfig.local
# [http]
# proxy = http://user:pwd@proxy_server_adress:port
path = ~/.gitconfig.local
[init]
defaultBranch = main