Git clone specified version

git clone -b v5.2.0 --depth=1 https://github.com/iPotato94/cas.git

 

-bWritten on the back of the specified version label , that is tag, for example,v5.2.0

 

--depthIndicates the depth of cloning, which 1means that only the latest version is cloned. Because if there are many versions of the project, the cloning will be very slow

 

image.png

Guess you like

Origin blog.csdn.net/weixin_39842528/article/details/108373933