1*0a9764feSAndroid Build Coastguard Worker#!/bin/bash 2*0a9764feSAndroid Build Coastguard Worker 3*0a9764feSAndroid Build Coastguard Worker# Install hooks. 4*0a9764feSAndroid Build Coastguard Workergit config --add hookcmd.check-non-public-commits.command "[ ! -d hooks ] || hooks/check-non-public-commits" 5*0a9764feSAndroid Build Coastguard Workergit config --add hook.pre-push.command check-non-public-commits