-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
43 lines (42 loc) · 910 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
41
42
43
[alias]
ci = commit
co = checkout
br = branch
st = status
last = log -1 HEAD
lg = log --graph --color
ft = fetch
rb = rebase
cf = config
df = diff
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
pl = pull
ps = push
ss = stash
us = reset HEAD -- # unstage
ll = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --all
ai = add -i
ap = add -p
ds = diff --staged
amend = commit --amend -C HEAD
cp = cherry-pick
cl = clone
au = add -u .
sm = submodule
[user]
name = Labi Kyo
email = [email protected]
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[apply]
whitespace = nowarn
[push]
default = simple
[diff]
algorithm = patience