Chronological list of branches?
Is there a way to have the list of your (local) branches ordered by the date of the last commit on it (along with the id of the commit, maybe)? When you have tons of branches, like me, it could be sometime useful just to have a look at your most recent work just looking at the list of branches (without inspecting the logs).
You can do it as explained in How can I get a list of git branches, ordered by most recent commit? but an easier way would be to install gitk which does exactly what your are doing. Gitk provides views than can display the all branches or only the branch that you want sorted by some field, like last commit, author, title, etc.
To learn it is really easy. Here is another related question to gitk Guide to understanding gitk?
链接地址: http://www.djcxy.com/p/10652.html上一篇: 显示所有提交A的分支并且提交B不在?
下一篇: 按时间顺序列出的分支机构?