This page describes how you can clone a Kubernetes master branch to your local computer.

Clone single branch

Since the repos branch is used as a source package for RPM and DEB, it will be very large to directly clon it, so you shall try to only clone the master branch.

git clone --single-branch -b master

Last modified October 28, 2021 : minor text changes (be3d64be)