Adding git hooks to google cloud repo
问题 One of the things that comes with google cloud are git repos. Is it possible to add hooks to this repo? I'd like to incoming pushes, but I don't know how to get access to .git/hooks . 回答1: You can do it if you host your code on git-hub/bitbucket. Then you will be able to use the git hooks. Google source has this feature (Object Change Notification) instead of hooks: https://cloud.google.com/storage/docs/object-change-notification 回答2: Check your server settings, if you use VM not cloud repo