Home

git branch ( sort by date & delete )

Sort branch by date : git for-each-ref –sort=committerdate refs/heads/ –format=’%(HEAD) %(color:yellow)%(refname:short)%(color:reset) – %(color:red)%(objectname:short)%(color:reset) – %(contents:subject) – %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))’ Delete all merged branches : https://stackoverflow.com/questions/6127328/how-do-i-delete-all-git-branches-which-have-been-merged