从远程仓库pull下来的代码有两个类类名首字母小写出现如下情况

“Will not add file alias 'samefile' ('SameFile' already exists in index)” when `git add/commit` operation“Will not add file alias 'samefile' ('SameFile' already exists in index)” when `git add/commit` operation
然后我想删了重新写一下(就是把这个类删了,代码复制到名字正确的类里面),然后commit的时候出现这个错误,后来删一个commit一下,就可以commit,暂时估计是删了之后commit把原先index里面的清空了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-08-11
  • 2021-09-08
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案