Skip to content

Instantly share code, notes, and snippets.

@tenpn
Created October 8, 2012 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenpn/3854944 to your computer and use it in GitHub Desktop.
Save tenpn/3854944 to your computer and use it in GitHub Desktop.
a bash script to list unused remote branches
for branch in `git branch -r --merged develop`; do
echo $branch `git log $branch -1 --pretty=format:%ct`
done | sort -k2
@tenpn
Copy link
Author

tenpn commented Oct 9, 2012

Powershell version: https://gist.github.com/3857377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment