Does Bitbucket support versioning for binary files?

I wanted to know if Bitbucket has the capability to do versioning for binary files such as EAR, WAR etc?

1 answer

0 votes
Jim Redmond Atlassian Team Jan 04, 2018

Anything committed to a repository, whether binary or text, or through git or hg, is versioned. However, binary files are much more likely to fill the repository unless you use something like LFS.

What are you trying to do?

Hello James,

Thank you for your time.

My users for Bitbucket tool have claimed that versioning for EAR and WAR files were not version controlled or neither than can be used for diff using Bitbucket or source tree. Later we found that version control is not supported in Bitbucket.

Could you please confirm if the above understanding is correct?



No, it is incorrect.  Your users are wrong.

Bitbucket will version control anything you give it. It really doesn't care what the size or content is, it will version it.  (Although, with large files, you need to make allowances for LFS)

However, it does not do all type of binary diffs.

Thank you Nic for your response. Yes, that is where the understanding was initially I wanted to explain that EAR and WAR files were not enabled for binary diffs., However we were able to check in OPT or Pub files into Bibucket.

Will it be possible to add me a link where I can read through the products limitations on this regard on exactly what type of files are version controlled and could run a binary diffs?



There's no doc for "limitations" because Bitbucket does not limit what you version control.

Thank you Nic, can you please explain what you meant by "However, it does not do all type of binary diffs."



It relies on git to do the comparisons, so it depends on what git supports.

Here's an example:

Thank you for the answers!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,906 views 7 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you