-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.erb
46 lines (46 loc) · 987 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
[user]
name = <%= print("- Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("- Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
a = add
br = branch
brd = branch -d
c = commit
cm = commit -m
co = checkout
l = log
m = merge
p = push
pt = push --tags
s = status
u = pull
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = green bold
local = normal
remote = blue bold
plain = normal
[color "diff"]
plain = normal
meta = bold
frag = cyan
old = red bold
new = green bold
commit = yellow
whitespace = normal red
[color "status"]
updated = green bold
changed = red bold
untracked = normal
nobranch = red black bold
[core]
excludesfile = ~/.gitignore
editor = nano
autocrlf = input
[apply]
whitespace = nowarn
[format]
pretty = %C(green bold)%h%Creset %C(blue)(%an, %cr)\n%Creset%B