-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgitconfig.common
59 lines (46 loc) · 912 Bytes
/
gitconfig.common
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
[credential]
helper = cache --timeout=600
[color]
diff = auto
branch = auto
status = auto
[color "diff"]
whitespace = red reverse
[alias]
a = add
c = commit -m
find = log --all --
d = diff
l = log --graph --date=short --pretty='format:%C(reset)%C(blue)%cd %C(green)%h %C(reset)%s %C(yellow)(%cn)'
b = branch
s = status -s
p = push
u = pull
ca = commit -a -m
co = checkout
br = branch
[init]
templatedir = ~/.git-template
[clone]
templatedir = ~/.git-template
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitexcludes
quotepath = false
[http]
sslverify = false
[branch]
autosetupmerge = true
[push]
default = matching
[pull]
rebase = preserve
[merge]
tool = vimdiff
ff = no
[url "git@github.com:"]
insteadOf = "gh://"
pushInsteadOf = "gh://"
[url "git@bitbucket.org:"]
insteadOf = "bb://"
pushInsteadOf = "bb://"