Skip to content

Instantly share code, notes, and snippets.

@warvariuc
Last active June 10, 2023 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warvariuc/9c4e401b82461f875f273b6a842b8558 to your computer and use it in GitHub Desktop.
Save warvariuc/9c4e401b82461f875f273b6a842b8558 to your computer and use it in GitHub Desktop.
List remote branches with latest commit date, author and description. The is used to review stale remote branches.
git for-each-ref --sort=committerdate refs/remotes/origin/ --format='%(committerdate:short) %(authorname) %(refname:lstrip=3)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment