Bitbucket vs Gerrit Code Review

Need advice about which tool to choose?Ask the StackShare community!

Bitbucket

38.2K
30.7K
+ 1
2.8K
Gerrit Code Review

114
217
+ 1
59
Add tool

Bitbucket vs Gerrit Code Review: What are the differences?

What is Bitbucket? One place to plan projects, collaborate on code, test and deploy, all with free private repositories. Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.

What is Gerrit Code Review? OpenSource Git Code Review Tool. Gerrit is a self-hosted pre-commit code review tool. It serves as a Git hosting server with option to comment incoming changes. It is highly configurable and extensible with default guarding policies, webhooks, project access control and more.

Bitbucket and Gerrit Code Review are primarily classified as "Code Collaboration & Version Control" and "Code Review" tools respectively.

Some of the features offered by Bitbucket are:

  • Unlimited private repositories, charged per user
  • Best-in-class Jira integration
  • Built-in CI/CD

On the other hand, Gerrit Code Review provides the following key features:

  • git repository hosting
  • pre-commit code review
  • commenting on diffs

"Free private repos" is the primary reason why developers consider Bitbucket over the competitors, whereas "Cleaner repository story" was stated as the key factor in picking Gerrit Code Review.

PayPal, Salesforce, and Starbucks are some of the popular companies that use Bitbucket, whereas Gerrit Code Review is used by Citrix, Midokura, and Wonga.com. Bitbucket has a broader approval, being mentioned in 1735 company stacks & 1449 developers stacks; compared to Gerrit Code Review, which is listed in 11 company stacks and 6 developer stacks.

Decisions about Bitbucket and Gerrit Code Review
Weverton Timoteo

Do you review your Pull/Merge Request before assigning Reviewers?

If you work in a team opening a Pull Request (or Merge Request) looks appropriate. However, have you ever thought about opening a Pull/Merge Request when working by yourself? Here's a checklist of things you can review in your own:

  • Pick the correct target branch
  • Make Drafts explicit
  • Name things properly
  • Ask help for tools
  • Remove the noise
  • Fetch necessary data
  • Understand Mergeability
  • Pass the message
  • Add screenshots
  • Be found in the future
  • Comment inline in your changes

Read the blog post for more detailed explanation for each item :D

What else do you review before asking for code review?

See more
Weverton Timoteo

One of the magic tricks git performs is the ability to rewrite log history. You can do it in many ways, but git rebase -i is the one I most use. With this command, It’s possible to switch commits order, remove a commit, squash two or more commits, or edit, for instance.

It’s particularly useful to run it before opening a pull request. It allows developers to “clean up” the mess and organize commits before submitting to review. If you follow the practice 3 and 4, then the list of commits should look very similar to a task list. It should reveal the rationale you had, telling the story of how you end up with that final code.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Bitbucket
Pros of Gerrit Code Review
  • 905
    Free private repos
  • 397
    Simple setup
  • 348
    Nice ui and tools
  • 341
    Unlimited private repositories
  • 240
    Affordable git hosting
  • 123
    Integrates with many apis and services
  • 119
    Reliable uptime
  • 87
    Nice gui
  • 85
    Pull requests and code reviews
  • 58
    Very customisable
  • 16
    Mercurial repositories
  • 14
    SourceTree integration
  • 12
    JIRA integration
  • 10
    Track every commit to an issue in JIRA
  • 8
    Deployment hooks
  • 8
    Best free alternative to Github
  • 7
    Automatically share repositories with all your teammates
  • 7
    Compatible with Mac and Windows
  • 6
    Source Code Insight
  • 5
    Price
  • 5
    Login with Google
  • 5
    Create a wiki
  • 5
    Approve pull request button
  • 4
    Customizable pipelines
  • 4
    #2 Atlassian Product after JIRA
  • 3
    Continuous Integration and Delivery
  • 3
    Also supports Mercurial
  • 3
    Unlimited Private Repos at no cost
  • 2
    Academic license program
  • 2
    Multilingual interface
  • 2
    Teamcity
  • 2
    Open source friendly
  • 2
    Issues tracker
  • 2
    IAM
  • 2
    IAM integration
  • 2
    Mercurial Support
  • 13
    Code review
  • 11
    Good workflow
  • 10
    Cleaner repository story
  • 9
    Open source
  • 9
    Good integration with Jenkins
  • 5
    Unlimited repo support
  • 2
    Comparison dashboard

Sign up to add or upvote prosMake informed product decisions

Cons of Bitbucket
Cons of Gerrit Code Review
  • 19
    Not much community activity
  • 17
    Difficult to review prs because of confusing ui
  • 15
    Quite buggy
  • 10
    Managed by enterprise Java company
  • 8
    CI tool is not free of charge
  • 7
    Complexity with rights management
  • 6
    Only 5 collaborators for private repos
  • 4
    Slow performance
  • 2
    No AWS Codepipelines integration
  • 1
    No more Mercurial repositories
  • 1
    No server side git-hook support
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is Bitbucket?

    Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.

    What is Gerrit Code Review?

    Gerrit is a self-hosted pre-commit code review tool. It serves as a Git hosting server with option to comment incoming changes. It is highly configurable and extensible with default guarding policies, webhooks, project access control and more.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Bitbucket?
    What companies use Gerrit Code Review?
    See which teams inside your own company are using Bitbucket or Gerrit Code Review.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Bitbucket?
    What tools integrate with Gerrit Code Review?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    Mar 4 2020 at 5:14PM

    Atlassian

    GitBitbucketWindows+4
    3
    869
    GitHubGitDocker+34
    29
    42077
    What are some alternatives to Bitbucket and Gerrit Code Review?
    GitHub
    GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
    GitLab
    GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis. Enterprises install GitLab on-premise and connect it with LDAP and Active Directory servers for secure authentication and authorization. A single GitLab server can handle more than 25,000 users but it is also possible to create a high availability setup with multiple active servers.
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    Atlassian Stash
    It is a centralized solution to manage Git repositories behind the firewall. Streamlined for small agile teams, powerful enough for large organizations.
    Crucible
    It is a Web-based application primarily aimed at enterprise, and certain features that enable peer review of a code base may be considered enterprise social software.
    See all alternatives