
git-archive
List of commands for git-archive:
-
git-archive:tldr:020fe git-archive: Create a tar archive from the contents of a specific directory.$ git archive --output=${filename-tar} HEAD:${path-to-directory}try on your machineexplain this command
-
git-archive:tldr:08afe git-archive: Create a zip archive from the current HEAD and print it to standard output.$ git archive --verbose --format=zip HEADtry on your machineexplain this command
-
git-archive:tldr:57c3c git-archive: Prepend a path to each file to archive it inside a specific directory.$ git archive --output=${filename-tar} --prefix=${path-to-prepend}/ HEADtry on your machineexplain this command
-
git-archive:tldr:ac496 git-archive: Create a tar archive from the contents of the current HEAD and print it to standard output.$ git archive --verbose HEADtry on your machineexplain this command
-
git-archive:tldr:cf9bf git-archive: Create a tar archive from the contents of the latest commit on a specific branch.$ git archive --output=${filename-tar} ${branch_name}try on your machineexplain this command
-
git-archive:tldr:d54c9 git-archive: Same as above, but write the zip archive to file.$ git archive --verbose --output=${filename-zip} HEADtry on your machineexplain this command