-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
28 lines (26 loc) · 916 Bytes
/
.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
[alias]
ignore = !"f() { for i in \"$@\"; do echo $(basename $i) >> $(dirname $PWD/$i)/.gitignore; done; }; f"
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %Cblue(%an)%Creset' --abbrev-commit --date=relative
co = checkout
pullall = '!f(){ git pull "$@" && git submodule update --init --recursive; }; f'
[user]
name = Ted Scharff
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[core]
excludesfile = ~/.gitignore_global
[push]
default = tracking
[branch]
autosetuprebase = always # git pull --rebase by default
[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