On 10/16/07, franky <yinping@xxxxxxxxxx> wrote: > lars said: > > $ git archive --remote=<repo> <revspec> <path> | tar -x > > I can't know deployment version easily The <revspec> can be a tag. So you can easily create a wrapper script to allow such things as $ ./deploy.sh v1.2.3 $ ./deploy.sh HEAD $ ./deploy.sh master $ ./deploy.sh <sha1> (note: for this to work with the git:// protocol, git-daemon needs --enable=upload-archive) -- larsh - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html