Skip to content

Instantly share code, notes, and snippets.

@tenpn
Created October 9, 2012 08:34
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/3857377 to your computer and use it in GitHub Desktop.
Save tenpn/3857377 to your computer and use it in GitHub Desktop.
Powershell to find oldest fully-merged branches
git branch -r --merged develop | %{$_ + " : " + (git log $_.Trim() -1 --pretty=format:%ct)} | sort {$_.Split(':')[1]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment