Skip to content

Instantly share code, notes, and snippets.

View countless-integers's full-sized avatar

Adrian countless-integers

View GitHub Profile
@countless-integers
countless-integers / delete_branches_older_than.sh
Last active April 10, 2020 13:26 — forked from antonio/delete_branches_older_than.sh
Script to delete branches older than a certain date
#!/bin/bash
dry_run=0
usage()
{
cat << EOF
usage: $0 [-n] ["string_to_date"]
Remove branches older than specified, human-readable date passed as a param