git下载指定的版本
1、查看提交历史
sudo git log
打印如下内容:
commit 2e3c19d412ab6a99bb51f338f71537a720a9c706
Author: huangbaoguo <baoguohuang@163.com>
Date: Tue Nov 20 21:55:25 2018 -0500
Add README.md
2、下载指定版本
sudo git 2e3c19d412ab6a99bb51f338f71537a720a9c706