3 ms·
You can use `--depth=1` to only download one revision, and `--branch` to specify an alternate branch or tag.
by nilved 11y ago
You can use `--depth=1` to only download one revision, and `--branch` to specify an alternate branch or tag.
- XorNot 11y agoAs far as I know though you can't grab a specific revision this way (I'd love to be shown otherwise) - which is an issue when setting up dockerfiles since you want to bake the sha hash which works into the file.