[英]git switching repository/branches from master
我對 git 沒有經驗。 我通過git clone --link--
克隆了一個項目的 master 分支,現在在我的 git bash 窗口中我看到: /c/app/project (master)
所以我在 master 中。 現在我想切換到一個現有的分支(比如測試)並拉取以獲取最新的更改。 當我輸入git checkout test
我收到error: "error: pathspec 'test' did not match any file(s) known to git.
我該如何切換分支
(由於這被標記為重復,我檢查了假設的答案,但並沒有解決我的問題。似乎我無法移出我的項目的主分支)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.