-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig.local
More file actions
40 lines (40 loc) · 1.03 KB
/
gitconfig.local
File metadata and controls
40 lines (40 loc) · 1.03 KB
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
[core]
editor = "vim"
[user]
name = David Calhoun
email = github@davidcalhoun.me
[alias]
ba = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
br = branch
cp = cherry-pick
df = diff
fe = fetch -v --prune
ls = ls-files
mg = merge
pl = pull
ps = push
rl = reflog --pretty=reflog
sw = switch
tr = "!git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`"
[merge]
ff = true
tool = opendiff
[mergeTool]
keepBackup = false
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[pretty]
reflog = %C(auto)%h %<|(17)%gd %<|(30)%C(blue)%cr%C(reset) %s
; reflog = %C(auto)%h %<|(17)%gd %C(blue)%ci%C(reset) %s
[pull]
rebase = false
[rerere]
enabled = false
[url "git@github.com:"]
insteadOf = https://github.com/