How do I log every last commit time of a branch?

How do I register the last commit time of each branch?

The logarithm of time relative to today is excellent.

I know to git branch -v

show sha1 and fix the subject line for each chapter.

I see commit sha1 however I don't remember every commit time.

+3


source to share


2 answers


Here's an example of how it renders 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))'

      

0


source


git log --branches --no-walk --date=relative

      



with whatever parameters you like, maybe --format=%cd %d %s

?

0


source







All Articles