pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Question about cvs, git, github and shallow clones
On Thu, May 09, 2019 at 09:36:18AM +0100, Ottavio Caruso wrote:
> $ git clone https://github.com/NetBSD/pkgsrc.git -b trunk
> --single-branch ~/pkgsrc
This works for me better:
git clone --depth 1 https://github.com/netbsd/pkgsrc
With single branch you are still taking the whole branch with all the
history. By limiting depth you are doing a shallow check out.
Mayuresh
Home |
Main Index |
Thread Index |
Old Index