particle-iot / buildpack-base

Base image for Particle buildpacks
1 stars 1 forks source link

Shallow clone and direct to branch #4

Closed brycekahle closed 7 years ago

brycekahle commented 8 years ago

Unless we need full git history for some reason, the clone-repo helper could be simplified to

git clone --branch $GIT_COMMIT_ISH --depth 1 $GIT_URL