.gitconfig 504 Bytes
Newer Older
Gea-Suan Lin's avatar
Gea-Suan Lin committed
1
[alias]
Gea-Suan Lin's avatar
Gea-Suan Lin committed
2
    br = branch
Gea-Suan Lin's avatar
Gea-Suan Lin committed
3
    ci = commit -v
Gea-Suan Lin's avatar
Gea-Suan Lin committed
4
    co = checkout
5
6
    dc = diff --cached --word-diff=color
    di = diff --word-diff=color
Gea-Suan Lin's avatar
Gea-Suan Lin committed
7
8
    gl = log --decorate --graph --pretty=oneline
    glog = log --decorate --graph
Gea-Suan Lin's avatar
Gea-Suan Lin committed
9
    st = status -bs
Gea-Suan Lin's avatar
Gea-Suan Lin committed
10
    up = "!git remote update -p; git merge --ff-only @{u}"
Gea-Suan Lin's avatar
Gea-Suan Lin committed
11
12
[color]
    ui = auto
13
14
[core]
    preloadindex = yes
Gea-Suan Lin's avatar
Gea-Suan Lin committed
15
[diff]
Gea-Suan Lin's avatar
Gea-Suan Lin committed
16
    algorithm = patience
Gea-Suan Lin's avatar
Gea-Suan Lin committed
17
18
[merge]
    tool = vimdiff
Gea-Suan Lin's avatar
Gea-Suan Lin committed
19
20
[pull]
    rebase = true
Gea-Suan Lin's avatar
Gea-Suan Lin committed
21
22
[push]
    default = matching
Gea-Suan Lin's avatar
Gea-Suan Lin committed
23
24
25
#
[include]
    path = ~/.gitconfig.local