-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
39 lines (39 loc) · 984 Bytes
/
gitconfig
File metadata and controls
39 lines (39 loc) · 984 Bytes
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
[include]
path = ~/.gitconfig.local
[alias]
st = status
ci = commit
co = checkout
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
brd = "! f() { for k in $(git branch $@ | sed 's/^..//; s/ .*//'); do echo "$(git log -1 --pretty='%Cgreen%ci %Cblue(%cr)%Creset ' $k) $k" ; done | sort -r; }; f"
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = true
[diff]
tool = vimdiff
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[credential]
helper = osxkeychain
[core]
quotepath = false
editor = /usr/bin/vim
excludesfile = ~/.gitignore_global
autocrlf = input
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[merge]
tool = vimdiff
[push]
default = simple
[user]
name = Danny Anderson
email = danny@danny-anderson.com