Commit ebe84c30 authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Add helper to clean up Git branches

parent c35bc39b
......@@ -115,3 +115,8 @@ function gpu() {
git push -u "${remoteToPushTo}" "${branchToPushTo}"
function git-branch-cleanup() {
git branch --merged | egrep -v "(^\*|master|develop)" | xargs git branch -d
git remote prune origin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment