【CMD|GIT】查看之前版本的代码

2024-01-22  本文已影响0人  盐果儿

1. 克隆仓库

git clone <repository-url>

2. 查看并复制需要版本的 commit hash

git log

3. 切换到指定版本

git checkout <commit hash>

上一篇 下一篇

猜你喜欢

热点阅读