title: Is it possible to run a git commit-msg hook over past commits?
body: <p>I have a commit-msg hook that I run for all of my local commits and, for a certain project, I require to have been run. Problem is, when I pull in from other forks some of my compatriots have not run this commit-msg hook. To date I've been doing</p>
  
  <pre><code>$ git rebase --interactive $commit_parent
  </code></pre>
  
  <p>as outlined very similarly <a href="https://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git/180085#180085">here</a>. Pick the commits that haven't been done properly, re-edit and so on. All very workable, but also tedious as I'm doing it by hand.</p>
  
  <p>How can I automate this? The hook requires no oversight. </p>