forked from xiaket/etc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
37 lines (34 loc) · 786 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
[user]
name = Kai Xia
email = [email protected]
[alias]
st = status
co = checkout
p = push -u
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
un = reset --soft HEAD^
[core]
excludesfile = ~/.xiaket/etc/gitignore_global
pager = cat
quotepath = false
[push]
default = current
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[init]
templatedir = ~/.xiaket/etc/git_template
[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