Skip to content

Instantly share code, notes, and snippets.

@joshsusser
Last active April 7, 2017 20:07
Show Gist options
  • Save joshsusser/d1edde21ccb368c3455e to your computer and use it in GitHub Desktop.
Save joshsusser/d1edde21ccb368c3455e to your computer and use it in GitHub Desktop.
git recent - remote branches sorted by recent update
[alias]
recent = "!git fetch --prune && git for-each-ref --sort='-committerdate' refs/remotes/origin/ --format='%(committerdate:iso) %(objectname:short) %(refname:short)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment