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.
我正在使用 chef 每分钟一次在我的生产服务器上获取更改,并且在 github 存储库中,我有 6 个 spawn-fcgi 脚本在 runit 的控制下。如果只有一个文件更改,我需要重新启动 runit 以获取更改。我的伪代码如下所示。
git fetch for each file: if file changed from last sync: sv start myrunit else: pass
我愿意接受最佳实践方法。
谢谢
git diff --name-only HEAD@{1}..HEAD
will list files changed between the previous and current checked-out commit.
我有一个带有表格的 ASP 经典页面。是否可以允许用户单击按钮将该表导出为 JPG 文件?