Forums

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

Why is my Resolve Conflict option grayed out

Yueh
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!
May 11, 2016

I am trying to push my code into my created branch. Before doing "Push changes immediately to origin/freature/xxx", I think I need to "Resolve Conflicts" by using such as "Using theirs" or "Using mine". But all these options are grayed out when I right-clicked the file and tried to do Resolve Conflicts option.

 

Can you shed some light?

1 answer

1 accepted

0 votes
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 12, 2016

Resolve conflicts is only used in one situation: You've performed a merge, and SourceTree has notified you that conflicts arose during the merge that couldn't be resolved automatically. A conflict is usually a situation where the same portion of a file was edited differently in the two branches that are being merged.

What makes you think you need to be resolving conflicts?

Yueh
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!
May 13, 2016

Seth,

Thank you for your answers.

I am fresh to the SourceTree and using the version control software such as GIT.

My original plan was to send out "Pull Request" but curious about how to resolve conflicts. Now, it seems that I should worry about "Resolve Conflicts" when I try to merge my modified code into the "master".

So, now I guess my question has been changed to "how to merge the master code into my modified code in the sourcetree then I can resolve the conflicts"?

 

Thanks, again!

 

 

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2016

If you are new to Git, you should read relevant portions of the Git Book: https://git-scm.com/book

I recommend you focus on 1.1 through 1.3, and chapters 2 and 3. Once you understand the basics of how git works, the SourceTree UI is very easy to use.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events