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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

In a pull request review (diff), what is the meaning of the colors of the files in the list?

When viewing a "pull" request, I click on "diff".  I see a list of file names on the left and the differences for the file I clicked on the right.

The file name colors are brown, blue-grey, green, light blue-grey, and red.  I can guess that red means a file was removed.  But,  what about the other colors?  What do they indicate?

1 answer

1 vote
Stefan Atlassian Team May 17, 2018

Hi Tia,

In the diff view there is a file tree showing all of the changes for that pull request. The colour of a particular file indicates the file change type:

  • Green - ADDED (a new file was added)
  • Blue - MODIFIED (an existing file was modified)
  • Brown - COPIED (an existing file was copied to create a new file)
  • Brown - MOVED (an existing file was moved to a new path)
  • Red - REMOVED (an existing file was removed)

Git is used to determine what the change type of a file is. See "git help diff-tree" for more information.

A bolded file indicates that you have not yet viewed that file since the last time it was changed. Clicking on a file will unbold it, and it will remain unbolded unless a commit is pushed to the source branch of the pull request which modifies that file.

Kind regards,
Stefan Petrucev
Atlassian Bitbucket

Hi @Stefan is there like an update maybe here for 2020?

 

or maybe there is a duplicate I see double brown

Like Bianca Trutiu likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,762 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you