git submodule时fatal: Not a git repository (or any parent up to mount point /home)
去Github上递归clone项目失败,然后准备git submodule update --init --recursive,结果出现fatal: Not a git repository (or any parent up to mount point /home)Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM
·
去Github上递归clone项目失败,然后准备git submodule update --init --recursive,结果出现
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
查了一会后
参考文章:https://blog.csdn.net/fujian9544/article/details/106143513
解决办法:在git clone 的主文件夹下使用
git init
原因:readme.md导致的(删了就行)
更多推荐
已为社区贡献1条内容
所有评论(0)