我正在嘗試檢出bootstrap v4-dev分支。但不工作。無法檢出bootstrap v4-dev分支
我的Git版本是:Git版本2.7.0.windows.1
我已經克隆的資源庫。
$ git remote -v
origin https://github.com/twbs/bootstrap.git (fetch)
origin https://github.com/twbs/bootstrap.git (push)
執行混帳取起源輸出什麼。
$ git fetch origin
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
明顯結帳時出錯。
$ git checkout v4-dev
error: pathspec 'v4-dev' did not match any file(s) known to git.
$ git checkout -b v4-dev origin/v4-dev
fatal: Cannot update paths and switch to branch 'v4-dev' at the same time.
Did you intend to checkout 'origin/v4-dev' which can not be resolved as commit?
那麼哪裏出錯?
我重新克隆庫,然後'git的結帳-b V4-dev的原產地/ V4-dev'作品。謝謝。 – James