💾 Archived View for freeshell.de › tldr › git-archive.gmi captured on 2022-06-11 at 21:49:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

git archive

Create an archive of files from a named tree.

More information.

git archive --verbose HEAD
git archive --verbose --format=zip HEAD
git archive --verbose --output={path/to/file.zip} HEAD
git archive --output={path/to/file.tar} {branch_name}
git archive --output={path/to/file.tar} HEAD:{path/to/directory}
git archive --output={path/to/file.tar} --prefix={path/to/prepend}/ HEAD
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY