Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# From: https://gist.github.com/michaeltwofish/5096740
# Kipras:
# - modified to run against develop instead of master
# - made a small fix to run within Git bash on Windows
# - uncommented local branch deleting (in original this was commented out,
# deleting only remote branches for some reason)
#
# Remove branches that have been fully merged to master, except dev