forked from henrypoydar/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.erb
57 lines (44 loc) · 974 Bytes
/
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
[alias]
co = checkout
st = status
co = checkout
sub = submodule
br = branch
bl = blame
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
[apply]
whitespace = nowarn
[color]
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 = green
changed = yellow
untracked = cyan
[core]
excludesfile = ~/.gitignore
editor = vim
autocrlf = input
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset
[user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[github]
user = <%= print("GitHub Username: "); STDOUT.flush; STDIN.gets.chomp %>
[push]
default = matching
[mergetool]
keepBackup = false
[credential]
helper = osxkeychain