是否可以在.GIT/hook/withStash中使用GIT挂钩?
它想知道我是否可以为提交后挂钩编写一个简单的shell/perl脚本,由服务器在git push上运行。它应该将分支签出到另一个位置。
您可能应该阅读关于存储库挂钩的Stash文档:
https://confluence.atlassian.com/display/STASH/Using+仓库+挂钩
这个插件/钩子可能也很有趣:
https://marketplace.atlassian.com/plugins/com.ngs.stash.externalhooks.external-hooks