-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
48 lines (48 loc) · 978 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
44
45
46
47
48
[user]
name = Trinh Hai-Anh
email = anh.hai.trinh@gmail.com
[core]
pager = cat
editor = vim
[alias]
a = add -A .
amend = commit --amend
b = branch
c = commit
co = checkout
cp = cherry-pick
d = diff
dw = diff --color-words
dc = diff --cached
ds = diff --stat
dt = describe --tags
f = fetch
g = grep
l = log --pretty=tformat:'%h %an: %s'
ld = log --pretty=tformat:'%h %an: %s' --since='12 hours ago'
ly = log --pretty=tformat:'%h %an: %s' --since=yesterday
lp = log -p --reverse
ls = ls-files
mt = mergetool
s = status
sd = svn dcommit
sr = svn rebase
ss = show --stat
root = git rev-parse --show-toplevel
rank = shortlog -sn --no-merges
w = whatchanged --reverse
[merge]
summary = true
tool = "p4merge"
[mergetool "p4merge"]
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepBackup = false
trustExitCode = false
[color]
diff = auto
interactive = auto
[grep]
lineNumber = true
extendedRegexp = true
[push]
default = upstream