-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
40 lines (40 loc) · 876 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
30
31
32
33
34
35
36
37
38
39
40
[core]
excludesfile = ~/.gitignore
editor = nvim
pager = "nkf -w | less -r"
[marge]
tool = vimdiff
[user]
name = Shin-ichi Ueda
email = [email protected]
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[push]
default = tracking
[merge]
ff = false
[alias]
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
b = branch -a
br = branch
ci = commit
co = checkout
d = diff
dc = diff --cached
f = fetch --prune
info = remote show origin
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --graph
s = status --short --branch
st = status
su = submodule update
uchidashi = push
[log]
date = local
[rerere]
enabled = true
[pull]
rebase = true