Possible Duplicate:
Is it possible to add a version number using git / github
I host a git repository on github.
Is it possible to add the revision to the comments at the start of my script, so every time I commit a new version, this number is counted up?
Also the date of the last commit would be great, if it is shown in comments.