git fatal: Path XXX is in submodule XXX
来源:互联网 发布:c高级编程第9版 中文 编辑:程序博客网 时间:2024/06/05 07:02
今天遇到个git的问题,就是有个目录死活add不上,报错git fatal: Path XXX is in submodule XXX。
后来发现这个目录也是一个受git版本控制的目录(含.git子目录),然后把这个目录备份一下,在git上删掉(git rm xxx),再重新添加这个目录,把原来的内容拷进去,注意不要把.git目录也拷了,然后终于就可以add了。
0 0
- git fatal: Path XXX is in submodule XXX
- Git出现 fatal: Pathspec 'xxx' is in submodule 解决方案
- git fatal: Path '' is in submodule '' 错误
- Git出现 fatal: Pathspec 'xxx' is in submodule 'module/Cxxx' 异常 解决方案
- ARouter There is no route match the path [/xxx/xxx], in group [xxx][ ]
- “fatal: 'git status --porcelain' failed in submodule
- git 出现 fatal: Pathspec 'assets/' is in submodule 'public/components/clockpicker',解决方法
- git 出现 fatal: Pathspec 'assets/' is in submodule 'public/components/clockpicker',解决方法是
- 解决git cherry-pick xxx fatal: bad object xxx
- [Android Lint] xxx is not translated in xxx 的解决方法
- [Android Lint] xxx is not translated in xxx 的解决方法
- [Android Lint] xxx is not translated in xxx 的解决方法
- There is no statement named xxx.xxx in this SqlMap
- [Android Lint] xxx is not translated in xxx 的解决方法
- [Android Lint] xxx is not translated in xxx 的解决方法
- [Android Lint] xxx is not translated in xxx 的解决方法
- [Android Lint] xxx is not translated in xxx 的解决方法
- xxx is not in the sudoers file
- CM开发日志 - 搜索引擎(一)
- 2d 空物体实例化发射子弹 围绕旋转
- hduing1501_判断合并_dfs_数组
- Java中的Object的Wait() 和notify()方法使用时应注意的地方和Thread中的sleep()方法
- (回溯算法)商人怎样安全过河
- git fatal: Path XXX is in submodule XXX
- s3c2440音乐播放器madpaly移植
- ubuntu12.04下安装QT
- 黑马程序员——java基础——我对集合的理解
- 的啊上海现山寨天安门 大大神大神大苏打阿萨德
- 125万像素智能相机收费站解决方案
- 艾丝凡阿萨德阿斯
- zabbix 一键安装,前提是mysql已安装好,且已设好密码,已在centos 6.5上做过测试
- SQLServer游标(Cursor)简介和使用说明 及全局变量说明和功能