Subject: Re: Hash for a commit sourcetree beside to a commit hash

From: Đoàn Trần Công Danh <[email-masked]>
Date: Fri, 3 Feb 2023 22:15:16 +0700

On 2023-02-03 16:37:20+0300, Andry <[email-masked]> wrote:
> Hello Philip,
> >> Nice, but I can not apply this over a git hub or a web interface without a clone.
> 
> PO> As a 'Distributed'-VCS, cloning the repository would be the de-facto
> PO> normal approach, otherwise you have re-invented centralised VCS ;-)
> 
> Cloning repository is a heavy operation by downloading everything
> instead of search a single commit.

You can limit the download with "git clone --filter=tree:0"
which only fetch the commit but not any tree or file contents.

-- 
Danh