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: 

New changes from develop appears while resolving conflicts via feature branch

cheremisin_k
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!
November 4, 2018

Hi there!

 

I'm using https://bitbucket.org/ and Git. I work on my feature branch from 'develop' branch.

develop -> feature

I open a pull request into develop branch and I see a conflict appears.

Direct pushing into the develop branch is not allowed so I resolve conflicts via feature branch.

Scenario:

git checkout develop

git pull

git checkout feature

git pull origin develop

-- resolve conflicts manually,

git add, commit, push

 

I expect that I will see a conflict file.

In real I see the conflict file + a few files changed in 'develop', but not changed in my feature branch. And it could be confusing in some cases. 

 

Is it possible to resolve conflicts via 'feature' branch without having changed in 'develop' files but not needed in the 'feature'?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
cheremisin_k
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!
November 6, 2018

Found the answer here:

The other alternative is to pull master branch, create a conflict_resolution branch off of master, merge the feature branch into conflict_resolution, push, and then do a Pull Request from conflict_resolution into master.

TAGS
AUG Leaders

Atlassian Community Events