Maksym Prokopov personal blog
Idea is a something worth sharing

useful git wip

07.01.2021

Reading time: 1 min.

Useful Git WIP alias command

add this to the .gitconfig

[alias]
  wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
  

and enjoy git wip sorting branches by most recent

Source: https://carolynvanslyck.com/blog/2020/12/git-wip/