-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
55 lines (53 loc) · 1.48 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
[user]
name = Hideyuki Kikuma
email = [email protected]
[include]
path = .gitconfig.local
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
ui = auto
[alias]
dc = diff --cached
ll = log --stat --abbrev-commit
ln = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset' --name-status
ls = log --stat --abbrev-commit -n 2
st = status
br = branch --sort=authordate
delete-merged-branches = !git branch --merged | grep -v \\* | xargs -I % git branch -d %
push-f = push --force-with-lease
branch-sorted = branch -v --format='%(committerdate:short) %(refname:short)' --sort=-committerdate
[browse-remote "github.com"]
file = "https://{host}/{path}/blob/{short_rev}/{file}{line && \"#L%d\" % line}"
top = https://{host}/{path}
ref = https://{host}/{path}/tree/{short_ref}
rev = https://{host}/{path}/commit/{commit}
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[push]
default = current
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[commit]
template = ~/.git_template/commit-msg.txt
[init]
templatedir = ~/.git_template/init.template
[diff]
indentHeuristic = true
[fetch]
prune = true
[url "ssh://[email protected]"]
insteadOf = https://github.com
[pull]
autostash = true
[rebase]
autoStash = true