使用 git archive 可以导出干净的代码,具体可以看 git help archive,简单使用如下:
git archive
git help archive
$git archive --format zip --output "./output.zip" master -0更多详解说
git导出代码的方法~archive
原文:https://www.cnblogs.com/asplover/p/15200826.html