title: How to automatically generate commit message
body: <p>In some (very) rare occasions, I make some changes in my repository that are so self-explanatory that a commit message describing my intentions is somewhat useless. In these cases, I would like the commit message to basically just list what files I've added/removed/edited. For instance:</p>
  
  <blockquote>
    <p>Added 'dog.h', 'cat.h'</p>
  </blockquote>
  
  <p>A manual commit message would look like</p>
  
  <blockquote>
    <p>Added header files</p>
  </blockquote>
  
  <p>In situations like this it would be nice to not have to actually write the commit message, but rather have it automatically generated.</p>
  
  <p>I'm aware that this is very bad practice, but I would only use this for non-professional repositories used for private projects. I know it's lazy, but I'm curious as to how it can be done. Unix shell scripts are preferred, but any solution is welcome.</p>
  
  <p><strong>Q:</strong> Is there a way to automatically generate a git commit message, listing what files that has been changed?</p>