Skip to content

Instantly share code, notes, and snippets.

@ksumrall
Last active October 10, 2018 15:37
Show Gist options
  • Select an option

  • Save ksumrall/68de71095b2b94082e1dda70f3eb03f2 to your computer and use it in GitHub Desktop.

Select an option

Save ksumrall/68de71095b2b94082e1dda70f3eb03f2 to your computer and use it in GitHub Desktop.
Get last commit summary of remote branches
(git branch -r) | % { git log -n 1 --format="%d`t%h`t%cd`t%an`t'%s'" $_.trim() -- } | Set-Content -Path "output.csv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment