Forums

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

Unable to Resolve Merge Conflicts in Bitbucket

Priscilla_Devasahayam
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!
December 27, 2018 edited

While merging my branch code with master, I was having merge conflicts and most of them got resolved but I'm unable to resolve merge conflicts on few files as I'm unable to accept the changes or stage them.

In Sourcetree, whenever I try to resolve the conflicts using 'theirs', I get the error - 'Cannot update one or more files, please check that no other application is locking your files' whereas, when I try to resolve conflicts using 'mine', it does not show this error and neither does it do anything and the merge conflict still remains. Not really sure as to why I'm not able to merge the files. Any suggestions/help would be appreciated. 

lock-001.PNG

 

Also, when I try to Merge or Sync from Bitbucket repository using Sync Now or Merge buttons, no action gets performed but I get the below mentioned error on console.  

lock-002.PNG

 

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2019

Hi Priscilla, 

That seems to be an issue with Git and not with Sourcetree itself. While Git tries to fix the commits by itself, this is not always possible, in some cases one of the developers will have to manually resolve the conflict. You can read more about that in the article Git merge conflicts.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events