-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitconfig
38 lines (38 loc) · 1.13 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
[diff]
tool = gvimdiff
[difftool]
prompt = No
[merge]
tool = gvimdiff
[mergetool]
prompt = false
[alias]
d = difftool
ds = diff --staged
st = status
co = checkout
br = branch
ci = commit
mg = merge
last = log -1 HEAD
latest = for-each-ref --sort=-committerdate --format=\"%(committername)@%(refname:short) [%(committerdate:short)] %(contents)\"
ls = log --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)%d %C(reset)%s %C(green)[%cn]\" --decorate --date=short
hist = log --pretty=format:\"%C(yellow)%h %C(red)%d %C(reset)%s %C(green)[%an] %C(blue)%ad\" --topo-order --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit
sbi = submodule init
sbu = submodule update --init --recursive
sbp = submodule foreach git pull
sbc = submodule foreach git co master
[user]
name = jiongz
email = [email protected]
[http]
proxy = 172.16.18.17:10000
[credential]
helper = store
[core]
editor = /usr/bin/gvim
[https]
proxy = 172.16.18.17:10000