One Comment

  1. This is a useful reminder that Git already provides structured ways to extract information without resorting to text parsing. Using git log –format feels much safer and more reliable than piping through tools like grep. Do you also use git rev-parse HEAD for this case, or do you prefer git log in scripts?

Leave a Reply

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