-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
49 lines (49 loc) · 1.19 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
[user]
name = Rasmus Frey
email = [email protected]
[github]
user = zorp
[core]
autocrlf = input
editor = "subl -w"
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.dot-files/gitignore_global
[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
[color "diff"]
whitespace = red reverse
[alias]
st = status
ci = commit
br = branch
co = checkout
mr = merge
df = diff
lg = log -p
p = push
pp = !git pull && git push
this = !git init && git add . && git commit -m \"initial commit\"
l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
ll = !git l --all
ls = log --graph --simplify-by-decoration --pretty=format:'%d' --all
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[push]
default = tracking