Below demonstrates the difference between clone and clone --depth=1 When git trunk is recommended as a good way for users to install and run, I think --depth=1 would be good to mention, pretty dramatic difference.
ktenney@delly:/tmp$ time git clone --depth=1 https://github.com/leo-editor/leo-editor Cloning into 'leo-editor'... remote: Counting objects: 3503, done. remote: Compressing objects: 100% (3113/3113), done. remote: Total 3503 (delta 410), reused 2670 (delta 319), pack-reused 0 Receiving objects: 100% (3503/3503), 9.10 MiB | 154.00 KiB/s, done. Resolving deltas: 100% (410/410), done. real 1m3.407s user 0m2.092s sys 0m0.940s ktenney@delly:/tmp$ time git clone https://github.com/leo-editor/leo-editor Cloning into 'leo-editor'... remote: Counting objects: 121841, done. remote: Compressing objects: 100% (340/340), done. remote: Total 121841 (delta 245), reused 203 (delta 69), pack-reused 121432 Receiving objects: 100% (121841/121841), 140.73 MiB | 170.00 KiB/s, done. Resolving deltas: 100% (94862/94862), done. real 14m24.684s user 1m12.704s sys 0m12.904s On Thu, Dec 7, 2017 at 10:51 PM, Matt Wilkie <[email protected]> wrote: > Somebody (Kent?) posted a git clone command that was faster than the > typical: > > git clone https://github.com/leo-editor/leo-editor.git > > I think it involved telling git there was no need to go back to the > beginning of time, just the previous N months. Or something? > > matt > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
