What causes corrupt git index file
git, intellij-idea
Solution
i don't use local git, only the version on the remote server.
There's my bet for your problem right there.
Do your work in your repo. Push to the server repo when you've got your work in some shape fit to publish. If you want to share your work-in-progress see e.g. Git push/pull between team members local repositories
(edit: you're using `sshfs`. Don't Do That for anything the least bit multi-user. it's a single-user convenience `FUSE` frontend for `sftp`. Even if you shut off its caching that still wouldn't close the races.)
Problem
I keep getting this message about once an hour: error: bad index file sha1 signature fatal: index file corrupt I've already looked online and know how to resolve it, but trying to figure out whats causing it. I use command line tools on the server, but have the directory mounted (through sshfs) on my local computer. But i don't use local git, only the version on the remote server. The only other thing i can think of is IntelliJ, but i stopped using there git commands thinking it was causing the conflict. Does anyone have any clues as to what the issue could be?