-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
50 lines (40 loc) · 1.16 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
50
[core]
excludesfile = ~/.gitignore
whitespace = tab-in-indent,tabwidth=2
[user]
name = David Cuddeback
email = "[email protected]"
signingKey = "8806EDB596E10F6B"
[color]
ui = auto
[status]
relativePaths = true
submodulesummary = true
showUntrackedFiles = all
[push]
default = upstream
[rebase]
autosquash = true
[apply]
ignorewhitespace = change
[merge]
tool = "vimdiff"
[mergetool]
prompt = false
; Use MacVim as a mergetool
[mergetool "mvimdiff"]
cmd = mvim -f -d -c \"wincmd J\" \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
[alias]
summary = log --pretty=oneline
active = branch --contains 'HEAD@{2 weeks ago}'
history = log --first-parent --pretty=oneline --abbrev-commit --decorate --color
tree = log --graph --pretty=oneline --abbrev-commit --decorate --color
forest = log --graph --pretty=oneline --abbrev-commit --decorate --color --all
recent = log --graph --pretty=oneline --abbrev-commit --decorate --color -30
message = log --format=format:%s -1
last = log --format=format:%H -1
revs = log --format=format:%H
preview = diff --staged
ff = merge --ff-only
[init]
defaultBranch = master