开发者

Git permission error when pushing to remote with new files only

开发者 https://www.devze.com 2023-02-10 02:32 出处:网络
I\'m pushing to a remote git repo and开发者_StackOverflow中文版 I get the following on any newly created files

I'm pushing to a remote git repo and开发者_StackOverflow中文版 I get the following on any newly created files

remote: error: git checkout-index: unable to create file

Changes to existing files are accepted, but this is obviously causing issues. Any ideas?


You see this problem when you use Git on a case-sensitive filesystem, then attempting to push changes to a case-insensitive one.

Make sure you aren't trying to commit FOO if foo is already in the repository.

0

精彩评论

暂无评论...
验证码 换一张
取 消