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

后端 未结 13 2262
深忆病人
深忆病人 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:45

    Sometimes its because of ssh. So you can use this:

    git clone https://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts
    

    instead of:

    git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts
    

提交回复
热议问题