“fatal: Not a git repository (or any of the parent directories)” from git status

后端 未结 13 2282
深忆病人
深忆病人 2020-12-04 14:54

This command works to get the files and compile them:

git clone a-valid-git-url

for example:

git clone git://cfdem.git.sour         


        
13条回答
  •  盖世英雄少女心
    2020-12-04 15:39

    I had another problem. I was in a git directory, but got there through a symlink. I had to go into the directory directly (i.e. not through the symlink) then it worked fine.

提交回复
热议问题