原文:Git使用之(pathspec master did not match any file(s) known to git)

一 問題概述 今天在工作中遇到一個問題,使用很久的一個local git repository,里面只有develop分支,那么現在想將分支切換到master分支,問題來了,在切換到master分支時: gitcheckoutmaster 提示如下錯誤: error:pathspec master didnotmatchanyfile s knowntogit 二 問題解決 .首先我們看一下分支情 ...

2018-05-24 23:15 0 14398 推薦指數:

查看詳情

Git使用之(pathspec master did not match any file(s) known to git)

一 問題概述 今天在工作中遇到一個問題,使用很久的一個local git repository,里面只有develop分支,那么現在想將分支切換到master分支,問題來了,在切換到master分支時: 提示如下錯誤: 二 問題解決 1.首先我們看一下分支情況: 2. ...

Thu Aug 26 19:00:00 CST 2021 0 1818
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM