Development > Newbie Coding
The GIT problem::Initial clone
Duke:
TY DarkRain for the elaborate answer.
Well, and the new questions you raised ;)
I understand that clone --depth n doesn't really help, so fetch --depth n *might* be the way to go ?
@Mattn:
Is rsync *fully* equivalent to clone or are there any drawbacks ?
DarkRain:
For reference: rsync method here
BTW, I ran this (out of curiosity) with --stats and --dry-run (so nothing was actually downloaded) it reports a transfered file size of 3.3 gigs so, yes, you can resume it, but you then have to download the double . . .
hard choice, isn't it?
Mattn:
rsync will afaik download everything - so in the end you might be downloading more, but you can continue and abort at every time you want.
also you have to edit the repo manually after that - we could also just offer a script for that (some volunteers?) - see the rsync thread above
O01eg:
--- Quote from: Mattn on October 13, 2010, 07:31:45 am ---rsync will afaik download everything - so in the end you might be downloading more, but you can continue and abort at every time you want.
--- End quote ---
How to make shallow repository after it?
Navigation
[0] Message Index
[*] Previous page
Go to full version