Answers for "view git branches most recent first"

2

view git branches most recent first

git for-each-ref --sort=-committerdate refs/heads/

# Or using git branch (since version 2.7.0)
git branch --sort=-committerdate  # DESC
git branch --sort=committerdate  # ASC
Posted by: Guest on June-02-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language