Now I'm curious -- is that here a way to do this that avoids downloading any more than strictly necessary?
The command above downloads the whole repo history. You could do a depth=1 to skip the history, but it still downloads the he latest version of the entire repo tree.
cakoose|5 months ago
The command above downloads the whole repo history. You could do a depth=1 to skip the history, but it still downloads the he latest version of the entire repo tree.
craftkiller|5 months ago
Combined with --depth=1 and the --no-checkout / --sparse-checkout flow that the GP already described.
I just tested on the emacs repo, left column is disk usage of just the `.git` folder inside:
Great tech talk covering some of the newer lesser-known git features: https://www.youtube.com/watch?v=aolI_Rz0ZqYvient|5 months ago
https://git-scm.com/docs/git-archive
archargelod|5 months ago
Could've been a shell script[2]
[1] https://github.com/zikani03/git-down/blob/cb2763020edc81e464...
[2] https://textbin.net/ja17q8vga4