Chronological list of branches?

Is there a way to have a list of your (local) branches, ordered by the last commit date on it (perhaps along with a commit identifier)? When you have tons of branches, like me, it might someday be useful to just look at your most recent work, just by looking at a list of branches (without checking logs).

+7
source share
1 answer

You can do this as described in How can I get a list of git branches ordered by last commit? , but an easier way is to install gitk, which does exactly what you do. Gitk provides views that can display all branches or only the branch that you want to sort by some field, for example, the last command, author, title, etc.

It is very easy to find out. Here is another question related to gitk gitk Understanding Guide?

+3
source

All Articles