Consider only fetching one Git branch
It would be potentially useful to support passing the specific branch/tag being built to git clone
and git fetch
, so that only that branch/tag will be retrieved. This would decrease the amount of storage and network traffic used.