The files are hosted on a windows machine,, and i was wondering if i cold use my Linux box to manage git, so i mounted the share. And then i see that when doing git status all the files shows as modified, and when trying to push from this share it wont accept my key.
The image is from same snapshot, same folder at same time.
Linux --------------------------------------------------------winGitBash
This blog post explains it quite nicely. Basically it is good idea to set:
git config --global core.autocrlf true
Have you checked your crlf
settings on the two machines? One may be re-creating the files as CRLF (Windows) while the other has just LF endings. That would be sufficient for the 'modified' status.
Don't forget your personal settings as well as the repo settings.
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