git clone https://github.com/lnas01/rel...
git checkout ff0bb84
error: pathspec 'ff0bb84' did not match any file(s) known to git.
git clone https://github.com/lnas01/rel...
git checkout ff0bb84
error: pathspec 'ff0bb84' did not match any file(s) known to git.
15 回答8.4k 阅读
8 回答6.2k 阅读
5 回答2.8k 阅读
1 回答4k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
3 回答2.6k 阅读
2 回答3.1k 阅读
ff0bb84是commit id。
如果你要新建一个分支
git checkout -b branch_name
如果你想要返回到某个commit
git reset commit_id
我这边运行命令的结果:

Screen Shot 2017-06-13 at 13.30.23