原文:fatal: not a git repository (or any of the parent directories): .git

我在使用git status命令時,出現此錯誤,解決辦法: git init 原因是在項目里沒有.git這樣的一個目錄文件,初始化就可以了 ...

2020-03-30 11:59 0 2024 推薦指數:

查看詳情

Not a git repository (or any of the parent directories): .git

今天准備在win10上面安裝git,想把代碼發布到github中,按照教程的方法一步一步下來,當配置完ssh和用戶名,郵箱之后,發現下拉不下來github中的代碼,出現如下錯誤。 說是沒有發現倉儲,很是郁悶,通過ssh –T git@github.com發現連接是通的。 之后 ...

Fri Aug 19 05:05:00 CST 2016 0 2675
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM