简体   繁体   中英

Git permission error when pushing to remote with new files only

I'm pushing to a remote git repo and 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM