Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
7zip は tar.gz や zip よりも圧縮率が高い傾向にありますが、git archiveこれら 2 つのかなり古い形式しかサポートしていません。
git archive
git archive圧縮を7zipとして出力する簡単な方法はありますか?
を使用しgit archive master | xz -z > archived.xzます。同じ圧縮アルゴリズムxzを使用することに注意してください。7zその後、で解凍できますxz -d。
git archive master | xz -z > archived.xz
xz
7z
xz -d