Skip to content

Instantly share code, notes, and snippets.

@oneEyedSunday
Created August 22, 2019 22:24
Show Gist options
  • Save oneEyedSunday/9b3096fe4ce1702274f807f6e833614d to your computer and use it in GitHub Desktop.
Save oneEyedSunday/9b3096fe4ce1702274f807f6e833614d to your computer and use it in GitHub Desktop.
List git branches by last commit date
git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'
@oneEyedSunday
Copy link
Author

From this SO answer

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