Thursday, January 25, 2018

git: sort branches by date

From https://stackoverflow.com/questions/9236219/git-list-git-branches-sort-by-and-show-date/16961359 
 
git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'

No comments:

Post a Comment

Followers

Blog Archive