.gitconfig additions

Sat, 04 Apr 2015 01:09:00 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 04 Apr 2015 01:09:00 -0400
changeset 177
6d15a355e17a
parent 176
a57e2b17ad70
child 178
47bbb9255d78

.gitconfig additions

.gitconfig file | annotate | diff | comparison | revisions
--- a/.gitconfig
+++ b/.gitconfig
@@ -15,9 +15,17 @@
 	incoming  = "!git remote update -p; git log ..@{u}"
 	outgoing  = log @{u}..
 	glog      = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+	cleanup   = "!git branch --merged | grep  -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
 
 [branch]
 	autosetuprebase = always
+	autosetupmerge = always
+
+[push]
+	default = simple
+
+[rebase]
+	stat = true
 
 [include]
 	path = ~/.gitconfig.local

mercurial