git branch --sort=-committerdate
to display a list of all local branches and sort them based on the date of their last commit.git branch --sort=-committerdate
git branch --sort=-committerdate # master # patch-1 # patch-2
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️