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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,958
Community Members
 
Community Events
176
Community Groups

Why the bitbucket diff is showing difference which is already present in the destination branch?

Why the bitbucket diff is showing difference which is already present in the destination branch? This is quiet frequent now.

1 answer

0 votes

Hi @archana.bahadur,

1) I see that your question has the tag 'bitbucket-cloud', but I do not see a Bitbucket Cloud account associated with the email of your community account. Could you please confirm if the issue concerns indeed Bitbucket Cloud (https://bitbucket.org/) or Bitbucket Server (self-hosted instance)?

2) If you run the following command locally

git diff destination_branch...source_branch -- /path/to/file.txt

where
destination_branch replace with the name of your destination branch
source_branch replace with the name of your source branch
/path/to/file.txt replace with the path and name of the file in your repo whose diff doesn't show as you expect

Do you see the same diff for the file locally that you see in Bitbucket UI?

3)  What is the kind of changes displayed in the diff (which shouldn't be there)?
Is it addition of new lines in files?
Removal of lines in files?
Addition of a file?
Or removal of a file?

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events