fatal: 'origin/dev' is not a commit and a branch 'dev' cannot be created from it

在git上把和別人合作的項目fork過來後,再clone分支到本地的時,通過git checkout -b dev origin/dev命令試圖創建本地分支,出現錯誤: fatal: 'origin/dev' is not a commit and a branch 'dev' cannot be created from it 找了網上很多發現原來沒有理解這句命令的含義  git checkou
相關文章
相關標籤/搜索