git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dmitry Kakurin" <dmitry.kakurin@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: Fetching a single file from remote repo
Date: Mon, 13 Aug 2007 15:38:27 -0700	[thread overview]
Message-ID: <a1bbc6950708131538n364f6a82l34b00baa1d751d48@mail.gmail.com> (raw)
In-Reply-To: <a1bbc6950708131131q74525060x85d5e31c6a538f76@mail.gmail.com>

On 8/13/07, Dmitry Kakurin <dmitry.kakurin@gmail.com> wrote:
> Is there a way to fetch a single file from remote repo without
> creating a client repo?
> I want to do something like
>  git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt

I think I have found it:
git archive --remote=http://62.24.64.27/r/msysgit.git
master:share/GitMe setup-msysgit.sh | tar -x

-- 
- Dmitry

      reply	other threads:[~2007-08-13 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13 18:31 Fetching a single file from remote repo Dmitry Kakurin
2007-08-13 22:38 ` Dmitry Kakurin [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a1bbc6950708131538n364f6a82l34b00baa1d751d48@mail.gmail.com \
    --to=dmitry.kakurin@gmail.com \
    --cc=git@vger.kernel.org \
    /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.
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 NNTP newsgroup(s).