原文:git --解決fatal: Not a git repository

這個錯誤是說沒有.git文件,萬能的百度是說:自己新建.git,用command git init. 經過實驗,可以暫時解決這個問題。但是新的問題又出現了,我git commit 不了,update不了我剛剛新建的文件到git 網站。 經過研究,發現,我的操作的位置是不對的,應該在git clone 之后,下下來的那個文件夾下操作,而不是自己之前建立的文件下操作。 比如,自己建立一個文件:git ...

2019-06-13 19:55 0 5681 推薦指數:

查看詳情

git 解決fatal: Not a git repository

原文:https://blog.csdn.net/u012306714/article/details/52571596 我用git add file添加文件時出現這樣錯誤: fatal: Not a git repository (or any of the parent ...

Tue Jul 31 19:42:00 CST 2018 0 4495
git 解決fatal: Not a git repository

我用git add file添加文件時出現這樣錯誤: fatal: Not a git repository (or any of the parent directories): .git 提示說沒有.git這樣一個目錄,解決辦法如下: git init就可以了! ...

Sat Jul 12 23:03:00 CST 2014 1 82378
git 解決fatal: Not a git repository

我用git add file添加文件時出現這樣錯誤: fatal: Not a git repository (or any of the parent directories): .git 提示說沒有.git這樣一個目錄,解決辦法如下: git init就可以了! ...

Tue Aug 22 20:12:00 CST 2017 0 26427
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM