git代码打包

git archive -o export0830.zip de82278 $(git diff --name-only effb992 de82278)


git archive -o export0830.zip 打包到XX提交 $(git diff --name-only 开始位置XX提交 打包到XX提交)

打包分支:
  git archive -o xxx.zip 977f8fc $(git diff --diff-filter=d --name-only 98cf168 977f8fc)

 

posted @ 2021-09-27 11:02  不一样的开始  阅读(255)  评论(0编辑  收藏  举报