The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Files getting modified while cloning repository from BitBucket

sandeep3124364
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2020

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

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events