Skip to content

Checkout to revision after cloning instead of cloning with revision

Nao Hashizume requested to merge 1548-update-component-git-clone into main

What does this Merge Request do and why?

This MR removes --branch arguments from git clone command since some projects use SHA as their versions instead of branch name. Instead, we can checkout to specific SHA after cloning to keep the initial intention of using git clone --branch.

Closes #1548 (closed).

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Closes #1548 (closed)

Edited by Nao Hashizume

Merge request reports