You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Why the bitbucket diff is showing difference which is already present in the destination branch? This is quiet frequent now.
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
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?