git 克隆 https://github.com/lnas01/rel...git checkout ff0bb84
错误:路径规范“ff0bb84”与 git 已知的任何文件都不匹配。
ff0bb84是commit id。如果你要新建一个分支git checkout -b branch_namegit checkout -b branch_name如果你想要返回到某个commit git reset commit_id如果你想要返回到某个commit git reset commit_id
git checkout -b branch_name
git reset commit_id
我这边运行命令的结果:Screen Shot 2017-06-13 at 13.30.23
ff0bb84是commit id。
如果你要新建一个分支
git checkout -b branch_name
git checkout -b branch_name
如果你想要返回到某个commit
git reset commit_id
如果你想要返回到某个commitgit reset commit_id
我这边运行命令的结果:
Screen Shot 2017-06-13 at 13.30.23