Skip to content

Bitbucket - The Introduction

Published: at 7 min read

Bitbucket is a web-based version control repository hosting service. Primarily used by software development teams. It provides tools for hosting, managing, and collaborating on code repositories using

BitBucket

Table of contents

Open Table of contents

What is VCS ?

Types of VCS

There are two types of VCS:

Git VS Bitbucket

Differences between Github & Bitbucket

PropertiesGithubBitbucket
OwnershipOwned by MicrosoftOwned by Atlasssian
Purposewidely used code hosting platforms. GitHub is used by individual developers, open-source projects, and enterprises.offers a suite of development tools, including code hosting, project management, and issue tracking. It’s designed to integrate with other Atlassian products like Jira and Confluence, making it suitable for teams looking for an all-in-one solution.
Version Control SystemGit is the standard version control system on GitHub.Bitbucket supports both Git and Mercurial repositories
collaborationcollaboration features like pull requests and code reviews, allowing team members to review and discuss code changes before merging them into the main repository.collaboration features like pull requests and code reviews, allowing team members to review and discuss code changes before merging them into the main repository.
CI/CD IntegrationsGitHub Actions is GitHub’s integrated CI/CD solution, allowing users to automate workflows, build, test, and deploy code directly from their repositories.Bitbucket Pipelines is Bitbucket’s built-in CI/CD solution, providing similar features like automated testing and deployment workflows

As you can see, both are really great at most of the things, choosing between these two, is actually hard, depending on your projects & company budgets.

Basic Terminology

How Bitbucket works

BitBucketWorks

Creation of Repository & hosting

Collaboration & contribution

Pull requests & code review

Code Quality and Continuous Integration

Deployment and Integration

Visibility and Monitoring

CLI with Bitbucket

Clone a repository from Bitbucket

$ git clone <Bitbucket_repo_url>

Add file to the index

$ git add <file_name>

Commit the changes

$ git commit -m <log-message> <filename>

Pull changes from remote reference

$ git pull

Push changes to BitBucket

$ git push <remote> <local-branch-name>[:<new-remote-branch-name>]

Bitbucket Server

Bitbucket Pipelines

Pipelines

The above image shows some of the tools that are integrated for automation of CI/CD pipeline.

CI/CD Pipelines

In Bitbucket Pipelines

Final Takeaway

I hope this helps !! Thanks for reading …

Share :
Written by:Parita Dey

Interested in Writing Blogs, showcase yourself ?

If you're passionate about technology and have insights to share, we'd love to hear from you! Fill out the form below to express your interest in writing technical blogs for us.

If you notice any issues in this blog post or have suggestions, please contact the author directly or send an email to hi@asdevs.dev.