Git - Windows AND linux line-endings
<p>My main OS is windows 10.</p>

<p>I have an Ubuntu 14.04 box running in Vagrant that I develop my applications on. The box is running SMB which gives me root file access to the Ubuntu server.</p>

<p>On the Ubuntu server I have my application files in a GIT repo with a gitlab server as the origin.</p>

<p>I run SourceTree on my windows machine that connects to the ubuntu GIT repo through the SMB share (so I assume it uses my Windows GIT installation).</p>

<p>Git status on the ubuntu machine gives no changes.</p>

<p>Git status on Windows and SourceTree indicate that all the files have changed (because of the line endings).</p>

<p>What settings on which OS should I use in order to be able to use the same local repo on both Windows and Linux?</p>