forked from peterfpeterson/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
46 lines (45 loc) · 1.29 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
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.gitconfig_local
[difftool "kompare"]
external = kompare
prompt = false
[difftool]
external = meld
prompt = false
[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
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
[color "status"]
added = green
changed = yellow
untracked = red
[core]
excludesfile = ~/.gitexcludes
autocrlf = input
[push]
default = tracking
[alias]
pullup = !"git fetch origin -v; git rebase origin/master;git fetch upstream -v; git rebase upstream/master"
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
branchclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
[url "http://paraview.org"]
insteadOf = git://paraview.org
[url "http://public.kitware.com"]
insteadOf = git://public.kitware.com
[url "http://vtk.org"]
insteadOf = git://vtk.org
[branch]
autosetupmerge = true
[log]
follow = true
[user]
name = Pete Peterson