Skip to content

Instantly share code, notes, and snippets.

@casmith
Last active November 4, 2016 12:46
Show Gist options
  • Save casmith/3cd0a1658a74d0298dfeb64c62ee9f1c to your computer and use it in GitHub Desktop.
Save casmith/3cd0a1658a74d0298dfeb64c62ee9f1c to your computer and use it in GitHub Desktop.
for k in $(git branch | sed /\*/d); do
if [ -Z "$(git log -1 --since='2 months ago' -s $k)" ]; then
echo $k
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment