< BACK

Git tips and tricks

List branches sorted by latest commit

git for-each-ref --sort=-committerdate refs/heads/

See reference.