打开Git工具,执行git clone -b 2.20.3 --depth=1 https://github.com/geoserver/geoserver.git拉取Geoserver代码(-b 后面写上指定 版本标签 , 即 tag, 比如 2.20.3;--depth 表示克隆深度, 1 表示只克隆最新的版本. )
git指定版本的源码
![](https://img-home.csdnimg.cn/images/20240711042549.png)
打开Git工具,执行git clone -b 2.20.3 --depth=1 https://github.com/geoserver/geoserver.git拉取Geoserver代码(-b 后面写上指定 版本标签 , 即 tag, 比如 2.20.3;--depth 表示克隆深度, 1 表示只克隆最新的版本. )