问题:需要获得指定commit的仓库版本
方法1:gitub tree view
1.1点击如图红框所示,查看历史commit
1.2 点击红框处进入到该次commit时的仓库状态
1.3 点击红框出zip文件下载即可
方法2:Clone The Repo And Checkout The Specific Commit
2.1 设置HEAD指向commit_sha
git clone -n <repo_url>
cd repo
git checkout <commit_sha>
点击红框处复制<commit_sha>
2.2 Clone The Repo And Checkout The Specific Commit Into A Branch
git clone -n <repo_name>
cd repo
git checkout -b <new_branch> <commit_sha>