From: Mike Hommey <mh@glandium.org>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: Bryan Turner <bturner@atlassian.com>,
Alexander Mills <alexander.d.mills@gmail.com>,
Git Users <git@vger.kernel.org>
Subject: Re: cannot clone --single-commit instead of --single-branch
Date: Fri, 2 Aug 2019 12:07:40 +0900 [thread overview]
Message-ID: <20190802030740.fr2kkpom5bvknksk@glandium.org> (raw)
In-Reply-To: <20190802024322.GC54514@google.com>
On Thu, Aug 01, 2019 at 07:43:22PM -0700, Jonathan Nieder wrote:
> Hi,
>
> Bryan Turner wrote:
>
> > Promisor remotes and other in-flight changes might help provide some
> > of what you're looking for, but I'm not aware of any already-available
> > solution.
>
> You can do
>
> git clone --no-checkout --filter=blob:none $url repo
TIL. Why doesn't --filter appear in the git-clone manual page?
Mike
next prev parent reply other threads:[~2019-08-02 3:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-01 20:52 cannot clone --single-commit instead of --single-branch Alexander Mills
2019-08-01 22:40 ` Bryan Turner
2019-08-02 2:43 ` Jonathan Nieder
2019-08-02 3:07 ` Mike Hommey [this message]
2019-08-02 2:57 ` Jonathan Nieder
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=20190802030740.fr2kkpom5bvknksk@glandium.org \
--to=mh@glandium.org \
--cc=alexander.d.mills@gmail.com \
--cc=bturner@atlassian.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.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).