-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
91 lines (70 loc) · 1.55 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[alias]
st = status -sb
br = branch -vv
co = checkout
cp = cherry-pick
ct = commit
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# Show verbose output about tags, branches or remotes
branches = branch -a
remotes = remote -v
tags = tag -l
# Amend the currently staged files to the latest commit
amend = commit --amend --reuse-message=HEAD
[color]
ui = auto
[color "diff"]
meta = yellow bold
commit = green bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = "red bold"
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[commit]
gpgsign = true
[core]
whitespace = fix,space-before-tab,tab-in-indent,trailing-space
autocrlf = input
# Speed up `git diff` and `git status`
preloadindex = true
# See: https://www.git-tower.com/blog/make-git-rebase-safe-on-osx/
trustctime = false
ignoreCase = false
excludesfile = ~/.gitignore
[diff]
renameLimit = 4000
tool = vimdiff
[difftool]
prompt = false
[gpg]
program = gpg
[hub]
protocol = https
[merge]
tool = vimdiff
[mergetool]
prompt = false
[pull]
rebase = true
[push]
default = current
[rebase]
autoStash = true
[rerere]
enabled = true
[url "[email protected]:"]
pushInsteadOf = "git://github.com/"
pushInsteadOf = "https://github.com/"
[user]
name = Nathaniel Hoag
email = [email protected]
signingkey = 2D868EC7
[include]
path = ~/.gitprivate
[branch]
autoSetupRebase = always