forked from thoughtbot/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
34 lines (34 loc) · 933 Bytes
/
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
[push]
default = current
[color]
ui = auto
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
[alias]
aa = add --all
ap = add --patch
ca = commit --amend
ci = commit -v
up = !git fetch origin && git rebase origin/master
mm = !git checkout master && git merge @{-1} --ff-only
co = checkout
create-branch = !sh -c 'git push origin HEAD:refs/heads/$1 && git fetch origin && git branch --track $1 origin/$1 && cd . && git checkout $1' -
delete-branch = !sh -c 'git push origin :refs/heads/$1 && git branch -D $1' -
merge-branch = !git checkout master && git merge @{-1}
pr = !hub pull-request
rebase-origin = !git fetch origin && git rebase origin/master
st = status
[core]
excludesfile = ~/.gitignore
autocrlf = input
[merge]
ff = only
[include]
path = .gitconfig.local
[commit]
template = ~/.gitmessage
[fetch]
prune = true
[user]
email = ibishop@liveops.com
name = Ian Bishop