git解决无法正常添加个别submodule
来源:互联网 发布:c语言 fprintf 编辑:程序博客网 时间:2024/06/06 01:54
由于我的一番瞎操作,导致工作的git库里有一个submodule子库无法正常添加,总是有如下提示:
A git directory for 'APP/CommonLibrary' is found locally with remote(s): origin git@github.com:FiveRingWind/CommonLibrary.gitIf you want to reuse this local git directory instead of cloning again from git@github.com:FiveRingWind/CommonLibrary.gituse the '--force' option. If the local git directory is not the correct repoor you are unsure what this means choose another name with the '--name' option.
emmmm,怎么也添加不上,很烦….
然后一番搜索….解决问题…. :)
之前用的语句是:
git submodule add git@github.com:世界上最厉害的公司/CommonLibrary.git ./APP/CommonLibrary
貌似是因为库里本省是有一个同名的子库的,只是我把它删了…但是导致重新添加子库添加不上…so….
改成如下语句:
git submodule add --name Common git@github.com:世界上最厉害的公司/CommonLibrary.git ./APP/CommonLibrary
完工~
阅读全文
0 0
- git解决无法正常添加个别submodule
- 解决Git 图标无法正常显示
- 使用git submodule添加MAVLink源文件
- Git submodule添加子项目/库
- git submodule删除后重新添加问题
- Git Submodule
- git submodule
- git submodule
- Git submodule
- git submodule
- [git] submodule
- git submodule
- git submodule
- Git Submodule
- 如何解决git多个密钥时无法正常使用
- linux Enterprise5 添加删除程序无法正常使用 解决
- git submodule update failed
- 关于git的submodule
- js延时触发
- [读书总结]-《哪有没时间这回事》
- C#调用DLL复杂函数结构体
- mysqldump原理解析
- 校招面试知识点复习之计算机网络
- git解决无法正常添加个别submodule
- 关于右值引用的粗略研究
- log4j 2 讲解
- 《SVM笔记系列之四》最优化问题的对偶问题
- 2017年Kali Linux更新源
- [LeetCode] Unique Paths II
- pass by value vs pass by reference
- ######mybatis页面get请求传参乱码,controller接收到乱码(特殊字符,不是问号那种)
- 机器学习-推荐系统