常用git命令报错记录

一、父项目中添加引用子模块时,报错提示'***' already exists in the index

  • 解决方案:执行命令git rm -r --cached ***
  • 再次执行添加子模块命令

二、待续

原文地址:https://www.cnblogs.com/jasmine0112/p/13427013.html