-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.erb
49 lines (49 loc) · 1.4 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
[user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) — %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) — %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
[color]
ui = true
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
autocrlf = false
safecrlf = true
[apply]
whitespace = nowarn
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[diff]
tool = vimdiff
[difftool]
prompt = false
[credential]
helper = cache --timeout=3600
[help]
autocorrect = 1
[push]
default = matching
[merge]
tool = vimdiff
[mergetool]
keepBackup = false
prompt = false
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[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 = red
untracked = magenta