Skip to content

Instantly share code, notes, and snippets.

View dreamer's full-sized avatar

Patryk Obara dreamer

  • EU/Poland/Wrocław
View GitHub Profile
#!/bin/sh
#
# Place this in your .git/hooks directory.
#
# This hook looks through commited *.h and *.cpp files and replaces date in
# copyright line with current year. After that it generates new commit with
# automatic message and makes sure we won't get into git commit loop.
#
# @author Patryk Obara <[email protected]>
#