On Wed, Apr 25, 2012 at 10:37 PM, Henning Hraban Ramm
Am 2012-04-25 um 22:15 schrieb luigi scarso:
#> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip' 47864ebdfe2d9916e365c2f278585a94879c813d
--format zip (without =)
All commands was tested and they work on my Linux box; my man git archive says
OPTIONS --format=<fmt>
True, but $ git archive usage: git archive [options] <tree-ish> [<path>...] or: git archive --list or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish> [<path>...] or: git archive --remote <repo> [--exec <cmd>] --list
--format <fmt> archive format --prefix <prefix> prepend prefix to each pathname in the archive -o, --output <file> write the archive to this file --worktree-attributes read .gitattributes in working directory -v, --verbose report archived files on stderr -0 store only -1 compress faster -9 compress better
-l, --list list supported archive formats
--remote <repo> retrieve the archive from remote repository <repo> --exec <cmd> path to the remote git-upload-archive command
yes, but traditionally is --long_option=value -option value http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html Given that both work, I prefer this style. -- luigi