How do I modify the checkout step?

The checkout step is a special convenience step which can not be changed.

If you need to change how the checkout step retrieves your code you'll need to perform raw git commands using a run step. From there you can customize the checkout process to suit your needs. Remember to remove the convenience checkout if adding your own custom run step checkout.

 

for example: 

 - run: git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL"

 

 

Was this article helpful?
12 out of 72 found this helpful

Comments

0 comments

Please sign in to leave a comment.