文章詳情頁
java - git checkout 具體版本失敗
瀏覽:103日期:2023-11-02 13:43:34
問題描述
git clone https://github.com/lnas01/rel...git checkout ff0bb84
error: pathspec ’ff0bb84’ did not match any file(s) known to git.
問題解答
回答1:ff0bb84是commit id。如果你要新建一個分支git checkout -b branch_name如果你想要返回到某個commit git reset commit_id
我這邊運行命令的結果:Screen Shot 2017-06-13 at 13.30.23
標簽:
java
相關文章:
排行榜
