We are using BitBucket as part of our Continuous Integration (CI) set up.
As part of it, we are cloning source code to server machine (windows OS) using Jenkins GIT Plugin.
While cloning repository to server machine, we noticed files with extension ".config" are modified surprisingly.
When we compared files, we found character '0D' (Hex) replaced with ' ' (Hex) character.
Could anyone guide why such behaviour happening with git clone with Bitbucket ?
Also thing to note is that, when we are cloning Bitbucket repository on different machine/system with windows OS, files are getting downloaded without modification i.e. cloned file and file present on Bitbucket server are identical.
So my question is -
1.What steps should i follow to overcome this issue? Can you please guide.
2.Why git clone work differently even though underlying OS is same i.e.Windows.
Regards,
Sandeep