-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
29 lines (29 loc) · 918 Bytes
/
.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
[core]
editor = vi
attributesFile = ~/.gitattributes
pager = "less -x2"
excludesFile = ~/.gitignore_global
[user]
name = Ginpei
email = [email protected]
[alias]
s = status -sb
c = checkout
cp = cherry-pick
w = switch
b = branch
d = diff --color-words
diffc = diff --cached
dc = diff --cached --color-words
diffl = log -1 -p
dl = log -1 -p --color-words
ap = add -p
cm = commit -m
cmx = commit --no-verify -m
path = log --graph --date=short --pretty=format:\"%C(yellow)%h %C(white)%s %C(green)%d %C(red)%cn %C(blue)%cd - %cr\"
graph = log --graph --date=short --pretty=format:\"%C(yellow)%h %C(white)%s %C(green)%d %C(red)%cn %C(blue)%cd - %cr\" --all
daily = log --all --author=ginpei --after=\"$(date '+%F 00:00')\" --pretty=format:'- %s'
zip = archive --format=zip HEAD
cancel = !git commit --no-verify -a -m 'Temporary commit for cancel' && git reset --hard HEAD~
[push]
default = simple