奇怪的问题


记录一些奇奇怪怪的问题


Git

  • git提交时报如下错
1
2
3
4
5
fatal: Unable to create '/Users/Luc1fer/lawMonkey-iOS/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
  • 解决方案
1
rm -f ./.git/index.lock
坚持原创技术分享,您的支持将鼓励我继续创作!