Drew Davenport | 8a167fc | 2024-09-23 12:06:40 -0600 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # Install hooks. | ||||
Drew Davenport | 16fb945 | 2024-10-14 10:33:01 -0600 | [diff] [blame] | 4 | git config --add hookcmd.check-non-public-commits.command "[ ! -d hooks ] || hooks/check-non-public-commits" |
Drew Davenport | 8a167fc | 2024-09-23 12:06:40 -0600 | [diff] [blame] | 5 | git config --add hook.pre-push.command check-non-public-commits |