Tidying up after Pull Requests
github.com
github.com
npm install -g rotten
It helps you discover* Which remote branches are empty (all code is in master), also outputs a command to delete them all.
* Which remote branches still have lots of code that needs to be merged
* How long remote branches have been waiting to be merged.
.
Why is this useful?
* discover which projects are languishing
* discover which engineers are unhappy that their code is not being reviewed/merged
* discover how effective your development process is
As a suggestion, I think you should include the list of features you wrote in this thread in your readme. That list made me really want to try out the tool. If I had only read your readme on github I would not have been as interested.
Although it seems the best approach would be to actually keep the branch pointers around, but have a way of hiding them to reduce the clutter
I think this issue is worth thinking about. For projects with a single owner or a small core set of contributors taking pull requests it is manageable. But when the responsibility is distributed, especially in the degenerate culture of Enterprise Java, uncontrolled branching can make git usage miserable.
The real problem was that we were using Git like an SVN server. But it was really interesting to see how bad it can be when branch pruning is not considered upfront.
Great feature github :)
https://s3.amazonaws.com/uploads.hipchat.com/10804/29957/csa3g3hjsk6i27p/close-branch-after-merge.png
since the person creating it is usually in the best position to decide whether the feature branch they're working on is "complete".Though I really like GitHub's implementation for cleaning up old pull requests (or ones you forgot to tick the close branch checkbox for).
(Full disclosure: I'm a developer on Bitbucket for Atlassian.)