git-archive

archive Создать архив файлов из рабочего дерева. Создать tar архив…

git archive

Создать архив файлов из рабочего дерева.

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

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← git-apply git-bisect →