How to log every branch last commit time?
Log the time relative today is excellent.
I know git branch -v
show sha1 and commit subject line for each head.
I see the commit sha1, however, I don't remember each commit time.
How to log every branch last commit time?
Log the time relative today is excellent.
I know git branch -v
show sha1 and commit subject line for each head.
I see the commit sha1, however, I don't remember each commit time.
Here is a sample how to it form one of my scripts.
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
git log --branches --no-walk --date=relative
with any format options you like, maybe --format=%cd %d %s
?