Skip to content

Instantly share code, notes, and snippets.

@rfischer20
Created June 27, 2014 15:30
Show Gist options
  • Save rfischer20/dcea4445d8e57103db17 to your computer and use it in GitHub Desktop.
Save rfischer20/dcea4445d8e57103db17 to your computer and use it in GitHub Desktop.
My useful git commands
# List branches sorted by date (with date)
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(authorname) %(refname:short)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment