Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个要求,一旦我将一个 csv 文件推送到远程分支,它应该调用一个 npm 脚本来处理来自 CSV 文件的数据。
请建议哪种方法是最好的方法。
Git 没有 post-push 钩子。如果您使用自己的 git 服务器,可以在 git 服务器中设置一个预接收挂钩。你可以在这里阅读Git hooks