When anybody makes a change to a specific file in my Git repo, I'd like to display a message to the user when they commit or push via Git CLI.
Scenario: User alters crazycalculations.py
, I'd like to say, "Hey, I notice you altered crazycalculations.py. Did you have John in Accounting review your change?". Just a friendly reminder to the end user that their messing with a file that is not to be messed with without supervision.
Any suggestions on how I can accomplish this?