git掉坑集锦

  1. fatal: Unable to create ‘D:/xxxxx/.git/index.lock’: File exists.
    删掉index.lock即可
  2. fatal: unable to stat ‘xxx/xxxx/xxxx’: Filename too long
    git config --system core.longpaths true
  3. 未完待续