Obsolete Git Branch Remover Maven Plugin

Having many branches left behind, abandoned, never deleted? How do you deal with them? We had same problem and I developed a automated DevOps solution.

Obsolete branch occurs, when dev doesn’t delete branch and forgets about it. Obviously simplest obsolete branches to remove are the merged branches. Those doesn’t contain any commits, that would be missing on develop or master branch. Unmerged branches contain extra commits both in repository and on author’s local. If author doesn’t care about a branch for long then the commits are probably not very valuable. Thus repository should not be burdened with such obsolete branches.

Using above reasoning I’ve provided git-obsolete-branch-removal to automatically remove obsolete branches. And we were happy ever after.

Created on 22 Jul 2016.
Thank you










About Vaclav Kosar How many days left in this quarter? Twitter Bullet Points to Copy & Paste Averaging Stopwatch Privacy Policy
Copyright © Vaclav Kosar. All rights reserved. Not investment, financial, medical, or any other advice. No guarantee of information accuracy.