-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
40 lines (40 loc) · 1.07 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
[alias]
st = status . -sb
ci = commit
co = checkout
cob = checkout -b
br = branch
cb = rev-parse --abbrev-ref HEAD
pr = "!open http://github.com/`git config user.name`/`pwd | xargs basename`/compare/`git rev-parse --abbrev-ref HEAD`?expand=1 ; say Ship it!"
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
conflicts = diff --name-only --diff-filter=U
recent = "!git for-each-ref --sort=-committerdate refs/heads/ | sed s/.*refs\\\\/heads\\\\/// | head"
scrub = "!git branch --merged master | grep -v master | xargs git branch -d"
[color]
ui = 1
[color "diff"]
plain = white
meta = yellow
old = red
new = green
frag = magenta
func = cyan
commit = cyan ul
whitespace = red reverse
[color "branch"]
current = yellow
[color "status"]
added = yellow
changed = magenta
untracked = cyan
header = white
branch = blue
[core]
editor = vim
[user]
name = jstuckey
email = jeremystuckey@gmail.com
[rerere]
enabled = true
[pull]
ff = only