forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig.erb
executable file
·73 lines (72 loc) · 1.54 KB
/
gitconfig.erb
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
[user]
name = Tom Meier
email = [email protected]
signingkey = <%= ENV["GPG_SIGNING_KEY"] %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
df = !git diff | subl
praise = blame
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; subl `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
edit-modified = "!f() { git ls-files --modified | cut -f2 | sort -u ; }; subl `f`"
[color]
ui = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = code --wait
autocrlf = input
whitespace = trailing-space,space-before-tab
ignorecase = false
pager = diffr | less -FXR
[interactive]
diffFilter = diffr
[apply]
whitespace = nowarn
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[github]
user = <%= ENV['GITHUB_USER'] %>
token = <%= ENV['GITHUB_TOKEN'] %>
[diff]
renamelimit=0
rename-threshold=80
renames = copies
mnemonicprefix = true
[branch]
autosetupmerge = true
[push]
default = tracking
autoSetupRemote = true
[rerere]
enabled = true
autoupdate = true
[merge]
stat = true
[hub]
protocol = https
[commit]
verbose = true
gpgsign = true
[url "[email protected]:"]
insteadOf = https://github.com/