-
Notifications
You must be signed in to change notification settings - Fork 6
/
gitconfig
48 lines (44 loc) · 1.11 KB
/
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 = Kai Xia
email = [email protected]
[alias]
st = status
co = checkout
p = push -u
c = cherry-pick
r = rebase
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
idff = diff
head = rev-parse HEAD
rb = misc rb # my rebase
br = misc br # my branch
b = misc b # create branch from latest master
blank = misc blank # create empty commit and push
[core]
excludesfile = ~/.xiaket/etc/gitignore_global
pager = cat
quotepath = false
hooksPath = ~/.xiaket/etc/git-hooks
[push]
default = current
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[grep]
extendRegexp = true
lineNumber = true
[branch]
autosetuprebase = always
[diff]
tool = icdiff
[difftool]
prompt = false
[difftool "icdiff"]
cmd = /usr/local/bin/icdiff --line-numbers $LOCAL $REMOTE
[includeIf "gitdir:~/.Bitbucket/"]
path = .xiaket/alt/etc/gitconfig
[includeIf "gitdir:~/.xiaket/share/bitbucket/"]
path = .xiaket/alt/etc/gitconfig