git clone -b v5.2.0 --depth=1 https://github.com/iPotato94/cas.git
-b
Written on the back of the specified version label , that is tag
, for example,v5.2.0
--depth
Indicates the depth of cloning, which 1
means that only the latest version is cloned. Because if there are many versions of the project, the cloning will be very slow