w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How can I help git for Windows better handle a repository sitting on a Linux Samba share?

Ok, after digging some more, I've found the issue was due to different file mode flags because of my Samba configuration. I was able to fix things by disabling the fileMode option at the repo level:

git config --unset core.fileMode

And setting it globally on the Windows box:

git config --global core.fileMode true

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.