git(四)问题

1、git 子模块submodule dirty

git config --global diff.ignoreSubmodules dirty

2、fatal: Unable to create index.lock File exists 错误的解决办法

解决方案:

在项目根目录下找到 .git 文件夹。打开该文件夹。找到文件夹里面的index.lock 文件,将其删除,即可解决问题(如果提示不能删除文件,就重启系统)

上一篇:PowerManagerService第三讲之灭屏


下一篇:test