Git branch last activity

Here I am starting a new category for short posts where I will give some usefull code snippet or shell command for every day use. So I start with a git command used to show last commit date for each branch, sorted by last commit date desc:

$ for branch in `git branch -a | grep -v HEAD`;do echo -e `git show -s --format="%ci,%cr,$branch,%an" $branch`; done | sort -r |column -t -s ","
Jean-Pierre Thomasset
Development team leader V3D
Professional web developer and software engineer since 2002. With more than ten years of experience and a solid background in several aspects of IT, I am technically proficient and can handle all kind of software or web projects. I also enjoy learning new things, not limited to computer technologies, which allows me to constantly improve myself.

Specialties:

Expert in .NET development and Web application (C#, ASP.Net, HTML, CSS, Javascript).
Proficient in PHP
Database modeling (SQL Server, MySQL)
Other languages & libraries : Java, C++, AngularJS, jQuery

Leave a Reply

Your email address will not be published. Required fields are marked *