Skip to content

Instantly share code, notes, and snippets.

@davoam
Last active May 25, 2017 07:04
Show Gist options
  • Save davoam/276c98519eff817357247d27e3861f89 to your computer and use it in GitHub Desktop.
Save davoam/276c98519eff817357247d27e3861f89 to your computer and use it in GitHub Desktop.
Shows sorted by commit date list of commits in remote repo
git remote prune origin && for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr %an" $branch | head -n 1` \\t$branch; done | sort -r
@davoam
Copy link
Author

davoam commented Sep 27, 2016

Shows sorted by commit date list of commits in remote repo

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