forked from cowboy/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
executable file
·67 lines (67 loc) · 1.95 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
# Local/private config goes in the include
[include]
path = ~/.gitconfig.local
[core]
filemode = false #set Git to ignore chmod changes
autocrlf = input
whitespace = fix,space-before-tab,tab-in-indent,trailing-space
excludesfile = ~/.gitignore_global
[apply]
whitespace = fix
[alias]
br = branch
ci = commit
co = checkout
df = diff
g = grep -I
lg = log -p
pp = !"echo \"Pull $1\"; git pull $1; echo \"Push $1\"; git push $1;"
files = "!git diff --name-status $1^ $1"
tests = !"echo \"Test Merge with $1 \n\"; git push origin $1; git checkout tests; git pull origin tests; git merge $1; git push origin tests;"
teste = !"echo \"Test Merge with $1 \n\"; git push origin $1; git checkout teste; git pull origin teste; git merge $1; git push origin teste;"
new = !"echo \"New branch $1 from the master \n\"; git checkout master; git pull origin master; git checkout -b $1;"
update = !"echo \"Update branch $1 with master \n\"; git pull origin $1; git checkout master; git pull origin master; git checkout $1; git merge master;"
rb = rbranch
rv = review
st = status
ksdiff = difftool -y -t Kaleidoscope
[branch "master"]
remote = origin
merge = refs/heads/master
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
[merge]
log = true
[difftool "Kaleidoscope"]
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\"
[rerere]
enabled = 1
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[url "[email protected]:"]
insteadOf = "heroku:"