-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
39 lines (39 loc) · 970 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
[color]
ui = true
[user]
name = Kenneth Lu
email = [email protected]
[core]
excludesfile = ~/.gitignore_global
editor = sublime -w
ignorecase = false
pager = cat
[alias]
fm = fetch origin master:master
fp = fetch --prune
rbm = rebase master
rim = rebase -i master
st = status
br = branch
co = checkout
com = checkout master
cob = checkout -b
ci = commit
cm = commit -m
ca = commit --amend
pushf = push --force-with-lease
di = diff
dim = diff master
dh = diff HEAD~1
ds = diff --staged
discard = checkout --
unstage = reset HEAD --
lg = log -15 --graph --pretty=format:'%C(red)%h%C(reset)%C(yellow)%d%C(reset) %s'
la = log --graph --pretty=format:'%C(red)%h%C(reset)%C(yellow)%d%C(reset) %s'
la2 = log --graph --pretty=format:'%C(red)%h%C(reset)%C(yellow)%d%C(reset) %s %C(cyan)(%cr by %cN)%C(reset)'
[push]
default = current
[status]
showStash = true
[diff]
colormovedws = allow-indentation-change