forked from geerlingguy/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
43 lines (40 loc) · 991 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[user]
name = asos-tommycouzens
email = [email protected]
[core]
editor = vi
excludesfile = ~/.gitignore
autocrlf = input
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[init]
defaultBranch = master
[web]
browser = google-chrome
[credential]
helper = osxkeychain
[push]
default = simple
autosetupremote=true
[merge]
tool = kdiff3
[difftool]
prompt = false
# difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE"
# difftool.sourcetree.path=
# mergetool.sourcetree.cmd=/Applications/Sourcetree 2.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
# mergetool.sourcetree.trustexitcode=true
# icdiff.options=--highlight --line-numbers
[alias]
c = commit
ca = commit -a
cm = commit -m
cam = commit -am
d = diff
dc = diff --cached
l = log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit
[pull]
rebase = true