Skip to content

Instantly share code, notes, and snippets.

@namnv609
Created May 27, 2020 08:08
Show Gist options
  • Save namnv609/0ca74524b615a5d3d5c9e7cb0daad91e to your computer and use it in GitHub Desktop.
Save namnv609/0ca74524b615a5d3d5c9e7cb0daad91e to your computer and use it in GitHub Desktop.
Git list branch with sort and commit date
git for-each-ref --sort='-committerdate' --format='%(committerdate) -/- %(objectname:short) -/- %(refname:short) -/- %(subject)' refs/heads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment