How do I skip the "Preparing Working Directory" step?

#1

How do I skip the “Preparing Working Directory” step to speedup my steps that don’t need to clone the repo?

#2

That is the checkout phase. In recent agents, you can set BUILDKITE_REPO to a blank string in a pre-checkout hook and it will skip it.

Might also be worth checking out Shared git repository checkouts in the Agent.