deeperthinker

2025年7月4日

怎么生成一个git包

摘要: 1. 生成仓库压缩包 用 git archive 打包当前仓库或指定版本内容: # 打包最新版本为 ZIP git archive -o 包名.zip HEAD # 打包指定提交版本(替换<commit_id>为具体哈希值) git archive -o 包名.zip <commit_id> # 仅 阅读全文

posted @ 2025-07-04 21:38 gamethinker 阅读(6) 评论(0) 推荐(0)

导航