Happy New Year and Remember to Update your Copyright Date!

I’m still living in 2023, even though it is now January 1, 2024. But my git repositories don’t need to live in 2023.

Picture this: you have a line at the top of your source file that looks like this:

// Copyright (C) 2012-2023 Joelle Maslak, All Rights Reserved

The problem is that I’m not usually working on the comment in the file, I’m usually working on something else in the file and forget to update these lines when I edit the files. I found a simple git hook to check for outdated copyrights on new checkins.

Photo by Pixabay on Pexels.com
Continue reading “Happy New Year and Remember to Update your Copyright Date!”