Home  >  Q&A  >  body text

git checkout specific version failed

git clone https://github.com/lnas01/rel...
git checkout ff0bb84

error: pathspec 'ff0bb84' did not match any file(s) known to git.

滿天的星座滿天的星座2655 days ago746

reply all(1)I'll reply

  • 学习ing

    学习ing2017-06-14 10:54:28

    ff0bb84 is the commit id.
    If you want to create a new branchgit checkout -b branch_name
    If you want to return to a certain commit git reset commit_id

    The result of running the command here:
    Screen Shot 2017-06-13 at 13.30.23

    reply
    0
  • Cancelreply