On Thu, 12 Aug 2021, Christo Crause via fpc-pascal wrote:
Now as I said I have not used git and for my day use cannot switch because
we
use properties of svn that are simply not available in git...
To retrieve a specific branch without history (I think this is
approximately equivalent to the svn co command) specify options --branch
(to specify which branch to check out), --single-branch (to not pull in
other branches) and --depth (to limit the history that git pulls in):
git clone --depth=1 --branch fixes_3_2 --single-branch
https://gitlab.com/freepascal.org/fpc/source.git fpc-fixes_3_2
This example downloads about 46 MiB of data, which expands to around 309
MiB on disk, of which 50 MiB is git information.
Nice, I didn't even know this one. We learn every day !
Thanks.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal