Skip to content

Instantly share code, notes, and snippets.

@thenormalsquid
Created March 20, 2019 17:35
Show Gist options
  • Save thenormalsquid/ed51076e33c945d0969be056b0491568 to your computer and use it in GitHub Desktop.
Save thenormalsquid/ed51076e33c945d0969be056b0491568 to your computer and use it in GitHub Desktop.
Lists all remote branches and last commit date
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment