# git archive-file > 将当前 Git 分支的所有文件导出为一个 Zip 压缩档案。 > 这是 `git-extras` 的一部分。 > 更多信息:。 - 将当前检出提交打包成一个 Zip 压缩档案: `git archive-file`