Is the any way to block git push
under certain conditions?
For instance, if any of the files being pushed contain words that indicate confidential material, such as aws_secret_key_id
, password
, bank account
or similar, is there any way to automatically reject the push?