如何git clone历史版本

方法

  1. 首先git clone 最新版本
  2. 再通过git checkout id号 可以退回历史版本
git clone 

git checkout id号

可以在提交里面,找到需要版本的id号

举个例子:获取ruoyi-vue v3.8.2版本

git clone https://gitee.com/y_project/RuoYi-Vue.git

git checkout a854e0ca8edb886845397748042011247621b027
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐