git 导出新修改的文件

git archive -o update.zip HEAD $(git diff --name-only HEAD)

原文地址:https://www.cnblogs.com/taiyanhong/p/9183927.html