Why the bitbucket diff is showing difference which is already present in the destination branch? This is quiet frequent now.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.