clone (single) commit id?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In our CI setup, for reproducibility and performance reasons, I want
to be able to clone a repository with only a single given commit id
(commit hash). (Using 'git init' + 'git fetch' + 'git checkout' is
possible, but more elaborate/low-level.)

At https://lore.kernel.org/git/MN2PR12MB3616C1F2E97A18547740651DF9E29@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
it is stated that:

> Never mind, I see, feature exists but server needs to allow it. Sigh.

However, I'm not able to find this in the Git documentation. Can
someone point out how to configure this? Can this be better
documented?

/Patrik Hägglund




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux