From: "Lars Hjemli" <hjemli@gmail.com>
To: franky <yinping@kooxoo.com>
Cc: git@vger.kernel.org
Subject: Re: Is there any plan to support partial checkout or submoudule improvement?
Date: Tue, 16 Oct 2007 12:50:34 +0200 [thread overview]
Message-ID: <8c5c35580710160350h53a7b5c4k374067372d4aac1d@mail.gmail.com> (raw)
In-Reply-To: <20071016095622.CE14F7E6F@mail.kooxoo.com>
On 10/16/07, franky <yinping@kooxoo.com> 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
next prev parent reply other threads:[~2007-10-16 10:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 3:20 Is there any plan to support partial checkout or submoudule improvement? franky
2007-10-16 8:08 ` Lars Hjemli
2007-10-16 8:27 ` franky
2007-10-16 8:42 ` Lars Hjemli
2007-10-16 9:56 ` franky
2007-10-16 10:50 ` Lars Hjemli [this message]
2007-10-16 11:45 ` franky
2007-10-16 11:02 ` Johannes Schindelin
2007-10-16 11:53 ` franky
2007-10-16 21:33 ` Jan Hudec
2007-10-17 2:54 ` Is there any plan to support partial checkout or submouduleimprovement? franky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c5c35580710160350h53a7b5c4k374067372d4aac1d@mail.gmail.com \
--to=hjemli@gmail.com \
--cc=git@vger.kernel.org \
--cc=yinping@kooxoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).