forked from PeterDaveHello/Unitial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
78 lines (77 loc) · 1.59 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[color]
ui = true
[alias]
ad = add .
br = branch
bl = blame
chp = cherry-pick
chpa = cherry-pick --abort
chpc = cherry-pick --continue
ci = commit -v
cia = commit -v --amend
cim = commit -m
cl = clone
cl1 = clone --depth 1
co = checkout
cob = checkout -b
df = diff
dfs = diff --stat --summary
fh = fetch
fhu = fetch upstream
mg = merge
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase -i
rbm = rebase master
rmt = remote
rmtv = remote -v
rmta = remote add
rmtau = remote add upstream
rs = reset
rst = reset
rsh = reset --hard
rv = revert
pl = pull
plr = pull --rebase
ps = push
sh = stash
sm = submodule
st = status
lg = log
lgp = log -p
lgpw = log -p -w
lgs = log --stat --summary
lgt = log --abbrev-commit --decorate --graph --color --pretty='format:%C(yellow)%h %Creset%s %C(magenta)%an %C(green)%ar %Creset'
lgf = log --follow
lgpf = log -p --follow
lgpwf = log -p -w --follow
lgsf = log --stat --summary --follow
lgtf = log --abbrev-commit --decorate --graph --color --pretty='format:%C(yellow)%h %Creset%s %C(magenta)%an %C(green)%ar %Creset' --follow
[push]
# for only push to current branch
default = tracking
[core]
editor = vim
excludesfile = ~/.gitignore_global
pager = ~/.git/contrib/diff-highlight | less
preloadindex = true
autocrlf = false
ignorecase = false
[mergetool]
keepBackup = false
[gui]
encoding = utf-8
[i18n]
commitencoding = utf-8
logoutputencoding = utf-8
[help]
autocorrect = 1
[credential]
helper = cache --timeout=600
[branch "master"]
rebase = true
[branch "dev"]
rebase = true
[branch]
autosetuprebase = always