Git development
 help / color / mirror / Atom feed
From: "Michal Suchánek" <msuchanek@suse.de>
To: git@vger.kernel.org
Subject: Shallow clone of a specific git revision?
Date: Tue, 12 Nov 2024 13:24:56 +0100	[thread overview]
Message-ID: <ZzNJGHMlxGQyFV_c@kitsune.suse.cz> (raw)

Hello,

Looking through clone man page it supports shallow clones of branches
and tags only.

Would it be possible to do shallow clone of a specific revision,
and checkout specific revision on clone?

Thanks

Michal


             reply	other threads:[~2024-11-12 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 12:24 Michal Suchánek [this message]
2024-11-13 10:23 ` Shallow clone of a specific git revision? Toon Claes
2024-11-13 10:29   ` Michal Suchánek
2024-11-15  5:00     ` David Aguilar
2024-11-15  9:37       ` Jeff King
2024-11-15 10:43       ` Michal Suchánek

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=ZzNJGHMlxGQyFV_c@kitsune.suse.cz \
    --to=msuchanek@suse.de \
    --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