forked from neverything/dotfiles-old-dont-use
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.erb
56 lines (43 loc) · 1.7 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
[user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
local = green
remote = red
[color "diff"]
meta = blue
frag = magenta
old = red bold
new = green bold
[color "status"]
added = green
changed = red bold
untracked = cyan bold
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = /usr/local/Cellar/emacs/HEAD/Emacs.app/Contents/MacOS/bin/emacsclient
autocrlf = input
whitespace = tabwidth=4,tab-in-indent,cr-at-eol,trailing-space
[apply]
whitespace = nowarn
[format]
pretty = %C(blue)%h%Creset %s %C(green)%d%Creset [%C(red)%an%Creset, %C(cyan)%cr%Creset] %C(bold reverse)%N%Creset
[github]
user = <%= print("GitHub Username: "); STDOUT.flush; STDIN.gets.chomp %>
token = <%= print("GitHub API Token: "); STDOUT.flush; STDIN.gets.chomp %>
[mergetool.ediff]
cmd = /usr/local/Cellar/emacs/HEAD/Emacs.app/Contents/MacOS/bin/emacsclient --eval \"(progn (defun ediff-write-merge-buffer () (let ((file ediff-merge-store-file)) (set-buffer ediff-buffer-C) (write-region (point-min) (point-max) file) (message \\\"Merge buffer saved in: %s\\\" file) (set-buffer-modified-p nil) (sit-for 1))) (setq ediff-quit-merge-hook 'ediff-write-merge-buffer) (ediff-merge-files-with-ancestor \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$BASE\\\" nil \\\"$MERGED\\\"))\"
[push]
default = tracking
[branch]
autosetuprebase = always
[rerere]
enabled = 1
[advice]
statusHints = false
detachedHead = false