What is the git(1)-based equivalent of the "cvs export" command, which checks-out a snapshot of the repository without needing or creating any administrative files (imagine that this is the first step executed by an independent continuous-integration server). Does the git(1) equivalent use the git archive
command?
Most often understood as an acronym for “comma-separated values” (though sometimes called “character-separated values” because the separator character does not have to be a comma), CSV is a file format that stores tabular data in plain-text form.
To do so, right-click the branch in the sidebar and choose Export Files from <tag>… from the contextual menu.
Git archive is a helpful utility for creating distributable packages of git repositories. Git archive can target specific refs of a repository and only package the contents of that ref. Git archive has several output formats that can utilize added compression.
Use Git Archive for Files The available list of formats can be retrieved with the git archive --list command. But the Git archive command includes only the files, not the history of those files. You can also use git archive branch to see the history of your branch/tree.
Yes, git-archive
is what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With