title: Simulating a global revision number with git
body: <p>How would I go about simulating a global increasing revision number for every commit in the git main line? </p>
  
  <p>So, after I commit I would like a script to run increases a number somewhere. </p>
  
  <p>This will allow me to tell my customers easily that X feature was fixed in git revision XYZ. </p>
  
  <p>I am looking for a practical sample script that is robust enough to handle pushes and merges to a degree. </p>