forked from danhorst/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
43 lines (43 loc) · 1.06 KB
/
gitconfig
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
[user]
name = Dan Brubaker Horst
email = dan.brubaker.horst@gmail.com
[alias]
ci = commit -v -a
st = status
rs = reset --hard HEAD
ba = branch -a
co = checkout
unmerged-edit = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; vim `f`"
unmerged-add = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
lg = log --graph --pretty=format:'%C(red)%h%Creset — %C(yellow)%s%Creset %d%n %an, %C(green)(%ar)%Creset'
forget = update-index --assume-unchanged
remember = update-index --no-assume-unchanged
[apply]
whitespace = nowarn
[branch]
autosetupmerge = true
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = red reverse
local = red bold
remote = yellow
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = magenta
[core]
excludesfile = /opt/boxen/config/git/gitignore
[credential]
helper = /opt/boxen/bin/boxen-git-credential
[hub]
protocol = https
[push]
default = current