-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot.gitconfig
More file actions
71 lines (71 loc) · 1.63 KB
/
Copy pathdot.gitconfig
File metadata and controls
71 lines (71 loc) · 1.63 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
[user]
name = Nobuyuki Honda
email = nobyuki@gmail.com
[core]
editor = vim
pager = lv
[color]
ui = auto
[color "branch"]
current = red ul
local = green
remote = cyan
[color "diff"]
meta = cyan
frag = magenta bold
# old = red reverse
# new = green reverse
# whitespace = white reverse
[color "log"]
current = yellow black
local = yellow
remote = magenta
[color "status"]
# header = normal blink
header = cyan
# added = magenta yellow
# updated = green reverse
# changed = red bold
untracked = yellow
nobranch = red white bold
[alias]
lol = log --graph --decorate --abbrev-commit --pretty=oneline
lola = log --graph --decorate --abbrev-commit --all --pretty=oneline
loln = log --graph --decorate --abbrev-commit --pretty=oneline --name-status
lolan = log --graph --decorate --abbrev-commit --all --pretty=oneline --name-status
lp = log --graph --pretty=format:'%C(yellow)%h %C(blue)(%p)%C(red)%d %C(white bold)%s %C(green)%an %C(cyan)%ai'
lpa = log --graph --all --pretty=format:'%C(yellow)%h %C(blue)(%p)%C(red)%d %C(white bold)%s %C(green)%an %C(cyan)%ai'
l = log
m = merge
r = remote
rs = reset
rss = reset --soft
rsh = reset --hard
rb = rebase
rbi = rebase -i
rbc = rebase --continue
rf = reflog
rp = rev-parse
h = help
f = fetch
c = config
co = checkout
cp = cherry-pick
cm = commit
cma = commit --amend
s = show
ss = status
st = stash
sb = show-branch
sm = submodule
sms = submodule sync
smu = submodule update --init --recursive
g = grep
gt= grep --untracked
d = diff
dc = diff --cached
a = add
ap = add -p
bl = blame --abbrev=6
[diff]
noprefix = true