如何配置Spring5.2.x源码在本地开发环境?
- 内容介绍
- 文章标签
- 相关推荐
本文共计445个文字,预计阅读时间需要2分钟。
1. 克隆Spring源码到GitHub,可能下载较慢,可以先fork官方仓库到自己的账户,再从Gitee导入。使用SourceTree拉取代码到本地。切换到5.2.x版本:git checkout origin/5.2.x,添加阿里云镜像,将下面内容添加到.gitconfig:[remote origin] fetch=https://github.com/your-repo.git mirror=https://github.com/your-repo.git[http] proxy=http://your-proxy:port[https] proxy=https://your-proxy:port[https] mirror=https://your-proxy:port
1 克隆Spring源码
github 下载可能较慢,可以先 fork 官方仓库到自己的账户下,再从 gitee 导入。
使用 sourceTree 拉取代码到本地。
本文共计445个文字,预计阅读时间需要2分钟。
1. 克隆Spring源码到GitHub,可能下载较慢,可以先fork官方仓库到自己的账户,再从Gitee导入。使用SourceTree拉取代码到本地。切换到5.2.x版本:git checkout origin/5.2.x,添加阿里云镜像,将下面内容添加到.gitconfig:[remote origin] fetch=https://github.com/your-repo.git mirror=https://github.com/your-repo.git[http] proxy=http://your-proxy:port[https] proxy=https://your-proxy:port[https] mirror=https://your-proxy:port
1 克隆Spring源码
github 下载可能较慢,可以先 fork 官方仓库到自己的账户下,再从 gitee 导入。
使用 sourceTree 拉取代码到本地。

