Re: Is there any plan to support partial checkout or submoudule improvement?
From: Lars Hjemli <hidden> Date: 2016-06-15 22:43:41
On 10/16/07, franky [off-list ref] wrote:
lars said:
quoted
$ 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