forked from pinktrink/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
64 lines (64 loc) · 1.04 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
[push]
default = simple
[merge]
tool = opendiff
conflictstyle = diff3
[diff]
tool = opendiff
[help]
autocorrect = 1
[color]
ui = true
[column]
ui = auto
[grep]
lineNumber = true
[difftool]
prompt = false
[mergetool]
prompt = false
[core]
excludesfile = ~/.gitignore_global
[commit]
template = ~/.dotfiles/etc/git_commit_template
[include]
path = ~/.gituser
[alias]
clone = clone --recursive
sm = submodule foreach git
cache-dir = ! echo '*\\n!.gitignore' > $1/.gitignore && true
c = commit
co = checkout
pr = pull --rebase
pl = pull
p = push
f = fetch
m = merge
r = reset
bi = bisect
cf = config
cfg = config --global
cfs = config --system
cff = config --file
s = status
a = add
d = diff
ap = add -p
cl = clone
mt = mergetool
st = stash
pop = stash pop
app = stash apply
ls = ls-files
lsm = ls-files -m
rb = rebase
t = tag
l = log
rl = reflog
re = remote
i = init
l1 = log --oneline
la = ! git config --list | grep '^alias\\.' | perl -pe 's/^alias\\.(.+?)=(.+)$/\\1: \\2/'
dt = difftool
h = help
b = blame