Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pull request to develop showing changes that is not mine

tasken_emauricio
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!
October 26, 2023

Hi everyone!

I'm trying to create a pull request here, but some strange is happening...

First, I create a hotfix branch from master, I committed  my changes, and then opened two pull requests, one for master and one for develop.

For master, everything is ok and only my changes appears:

1.PNG

However, for develop, others changes appear that are already in develop and they interfere on the pull request analysis:

2.PNG

How can I avoid this problem? :(

 

 

2 answers

0 votes
tasken_emauricio
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 15, 2023

Hi @Mark C 

 

We use this merge strategy:

Capture.PNG

But, sometimes when de PR contains a conflict is necessary resolve the conflict and merge by Source Tree. I don't now what merge strategy Source Tree uses.

 

Thank you !

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2023

Hi @tasken_emauricio,

It is possible that a different merge strategy was used for master and develop, hence, you're getting a different result.
For example, the "squash" merge strategy was used for master and "merge commit" was used for develop.

For that, you can try using one merge strategy for both branches to get the same result (e.g. merge commit strategy).

Regards,
Mark C

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2023

Hi @tasken_emauricio,

Thank you for reaching out to the community.
Would it be possible for you to confirm what merge strategy the team is using to merge pull requests?

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events