Corrupt Images when committing from Windows
Our team is using private git from bitbucket. From the beginning, commits and image assets was generated from Mac and Linux. Some team member is using Windows, and the trouble began when they try to do commit and push.
Each time we push commit to Bitbucket with image asset created from GIMP in Windows, each image become corrupted. You can see the attachment below.
And then we tried to clone it again to try and see whether the corrupted images is carried out. Unfortunately, all our images is now corrupted.
Additional info, we are using Vagrant with VIrtualBox for devops. The OS is using Ubuntu in Windows 8 host.
Our repository folder is synced to it, that's why we can do commit from Windows.
This problem also arise when we checkout to other branch in Windows.
In my opinion, this is related to LF and CRLF line endings. Any suggestion?