Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #view #git #branches
ADD COMMENT
Topic
Name
1+2 =