此命令用于获取文件并编译它们:
git clone a-valid-git-url
Run Code Online (Sandbox Code Playgroud)
例如:
git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts
Run Code Online (Sandbox Code Playgroud)
但是,git status(或任何其他git命令)然后给出上述fatal: Not a git repository (or any of the parent directories)错误.
我究竟做错了什么?