I have a shared folder on ubuntu server 16.04. VSCode Insiders works fine with local folders but on samba shared folders git integration fails ignoring the existing .git folder as you can see in the image below. The share folder has the correct setup with full read/write and it is not hidding the unix dot folders/files. I tried changing different combinations of unix folder access permissions without success. Tried to map the shared folder to a drive letter on windows, no success.
Just in case it could be related: The samba server only accepts connections when clients are using server's ip address like \\192.168.1.100\shared-folder (trying to access with server hostname like \\server-name\shared-folder, fails)
Any recomendation will be appreciated.
I try using git bash and now I see it is a git related problem:
tl;dr
The samba server is a virtual machine on my windows 10 pc as host. I'm using this to develop and test several kind of web apps. The shared folder is used only for access the source code and made changes with a modern code editor. Git is installed on my windows pc and git bash is enable on VSCode terminal. VSCode terminal 'git status' command fails too listing all project files as untracked.
I have a similar setup and had the same problem. I issued the following commands in VSCode Terminal (on the Windows machine):
git config core.autocrlf true
git config core.filemode false
Fixed the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With