forked from tanacchi/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
40 lines (40 loc) · 954 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
[include]
path = .gitconfig.user
[alias]
a = add
aa = add --all
br = branch
co = checkout
com = commit
di = diff
ds = diff --staged
fe = fetch
g = log --graph --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s'
ga = log --graph --decorate --oneline --all
gg = log --all --graph --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s'
l = log
ld = git log --diff-filter=D --summary
lo = log --oneline
lp = log -p
ls = log --stat
pl = pull
ps = push
rr = restore
s = status
sh = show
st = stash
sub-update = !git submodule foreach git pull origin master
sw = switch
unstage = !git add --all && git reset HEAD --hard
[color]
ui = auto
[core]
editor = vim
[merge]
ff = false
[pull]
rebase = true
[push]
default = simple
[rerere]
enabled = true