We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d93e51 commit 0731851Copy full SHA for 0731851
git-already-merged
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+
3
+# From https://railsware.com/blog/git-housekeeping-tutorial-clean-up-outdated-branches-in-local-and-remote-repositories/
4
5
+for branch in $(git branch -r --merged | grep -v HEAD)
6
+do
7
+ echo -e $(git show --format="%ci %cr %an" $branch | head -n 1) \\t$branch
8
+done | sort -r
0 commit comments