git commit stopped working - Error building trees

后端 未结 11 1223
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 16:13

I can not commit a change:

$ git commit
error: invalid object 100644 13da9eeff5a9150cf2135aaed4d2e337f97b8114 for \'spec/routing/splits_routing_spec.rb\'
err         


        
11条回答
  •  醉酒成梦
    2020-12-23 16:30

    This can be caused by some third-party synchronization APP such as Dropbox and Jianguoyun. There might be two ways based on my experience:

    1. You can try to undo recent synchronization operations.
    2. Remove the related files from the folder, commit, and then move back the files.

提交回复
热议问题