扫码关注官方订阅号
git clone https://github.com/lnas01/rel...git checkout ff0bb84
error: pathspec 'ff0bb84' did not match any file(s) known to git.
ff0bb84是commit id。如果你要新建一个分支git checkout -b branch_name如果你想要返回到某个commit git reset commit_id
git checkout -b branch_name
git reset commit_id
我这边运行命令的结果:Screen Shot 2017-06-13 at 13.30.23
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
ff0bb84是commit id。
如果你要新建一个分支
git checkout -b branch_name
如果你想要返回到某个commit
git reset commit_id
我这边运行命令的结果:

Screen Shot 2017-06-13 at 13.30.23