git submodule update --remote --merge
一直没法更新,尝试重新 add submodule,比如:
git submodule add https://github.com/cisco/openh264 open_source_code/openh264
一直报如下错误: ‘open_source_code/openh264‘ already exists in the index
执行如下命令,解决此问题:
git rm -r --cached open_source_code/openh264
原文:http://my.oschina.net/jerikc/blog/513039