本文介绍了将git hooks添加到Google Cloud Repo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谷歌云附带的一件事是 git仓库.是否可以在此仓库中添加钩子?我想要传入的推送,但是我不知道如何访问.git/hooks
.
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
.
推荐答案
如果将代码托管在 git-hub/bitbucket .这样您就可以使用git钩子了.
You can do it if you host your code on git-hub/bitbucket. Then you will be able to use the git hooks.
Google来源具有此功能(对象更改通知),而不是挂钩: https://cloud.google.com/storage/docs/object-change-notification
Google source has this feature (Object Change Notification) instead of hooks:https://cloud.google.com/storage/docs/object-change-notification
这篇关于将git hooks添加到Google Cloud Repo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!