diff --git a/bin/git-delete-merged-branches b/bin/git-delete-merged-branches new file mode 100755 index 0000000..a650469 --- /dev/null +++ b/bin/git-delete-merged-branches @@ -0,0 +1,2 @@ +#!/bin/sh +git branch --merged | grep -v "*" | xargs git delete-branch diff --git a/bin/git-summary b/bin/git-summary index bfc08fc..6a29842 100755 --- a/bin/git-summary +++ b/bin/git-summary @@ -67,8 +67,8 @@ repository_age() { echo echo " project : $project" echo " repo age :" $(repository_age) -echo " commits :" $(commit_count) echo " active :" $(active_days) days +echo " commits :" $(commit_count) if test "$commit" = ""; then echo " files :" $(file_count) fi