Please enable JavaScript to view the comments powered by Disqus.

A brief overview of Bitbucket

A brief overview of Bitbucket

Written by Mr.Vikas Sharma

Share This Blog


Every software developer/programmer and CTO knows the importance of source control or revision control systems. An obvious perk is such systems allow you to securely store your code in a safe place. A source control system allows programmers to experiment with new features without worrying about damaging the existing program.

Bitbucket is the perfect collaborative revision control service for developer teams of all sizes from all around the world.

Bitbucket is a Git-based source code repository hosting service owned by Atlassian. Bitbucket offers both commercial plans and free accounts with an unlimited number of private repositories.

Key terms to know

Here are some important words and terms to know so you can find your way around Bitbucket. Some of these are terms borrowed from Git, others are specific to Bitbucket.

Branch

A branch represents an independent line of development. Branches serve as an abstraction for the edit/stage/commit process. You can think of them as a way to request a brand new working directory, staging area, and project history. New commits are recorded in the history for the current branch, which results in a fork in the history of the project.

Fork

Instead of using a single server-side repository to act as the “central” codebase, forking gives every developer a server-side repository. This means that each contributor has not one, but two Git repositories: a private local one and a public server-side one.

HEAD

Git’s way of referring to the current snapshot. Internally, the git checkout command simply updates the HEAD to point to either the specified branch or commit. When it points to a branch, Git doesn't complain, but when you check out a commit, it switches into a “detached HEAD” state.

Master

The default development branch. Whenever you create a git repository, a branch named "master" is created and becomes the active branch.

Pipelines

Bitbucket Pipelines is an integrated CI/CD service, built into Bitbucket. It allows you to automatically build, test, and even deploy your code, based on a configuration file in your repository.

Pipes

Bitbucket Pipes are shortcode chunks that you can drop into your pipeline to perform powerful actions. Pipes make it easier to build powerful, automated CI/CD workflows and get up and running quickly.

Project

A project is a container for repositories. Projects make it easier for teams to focus on a goal, product, or process by organizing your repositories into projects. Projects can be either visible or hidden from public view.

Pull Request

Pull requests are a feature that makes it easier for developers to collaborate using Bitbucket. They provide a user-friendly web interface for discussing proposed changes before integrating them into the official project.

Working Tree

The tree of actual checked-out files, normally containing the contents of the HEAD commit's tree and any local changes you've made but haven't yet committed.

Bitbucket hosting options

Cloud

Bitbucket Cloud is hosted on Atlassian’s servers and accessed via a URL. Bitbucket Cloud has an exclusive built-in CI/CD tool,Pipelines, that enables you to build, test, and deploy directly from within Bitbucket.

Server

Bitbucket Server is hosted on-premise, in your environment. Bitbucket Server has strong integrations withBamboo, our powerful CI/CD tool that allows you to completely automate your process. The license isperpetual.

Data Center

Bitbucket Data Center, our Enterprise Offering, looks like a single instance of Bitbucket Server to users but is hosted on a number of servers in a cluster in your environment. This provides important benefits over Bitbucket Server:

  • Performance at scale
  • High Availability
  • Smart mirroring

Bitbucket Cloud

Bitbucket Cloud (previously known as Bitbucket) is written inPythonusing theDjangoweb framework.

Bitbucket is mostly used for code andcode review. Bitbucket supports the following features:

  • Pull requests with code review and comments
  • Bitbucket Pipelines, a continuous delivery service
  • 2 step verification and required two-step verification
  • IP whitelisting
  • Merge Checks
  • Code search (Alpha)
  • Git Large File Storage (LFS)
  • Documentation, including automatically rendered README files in a variety of Markdown-like file formats
  • Issue tracking
  • Wikis
  • Static sites hosted on Bitbucket Cloud: Static websites have the bitbucket.io domain in their URL
  • Add-ons and integrations
  • REST APIs to build third-party applications which can use any development language
  • Snippets that allow developers to share code segments or files
  • Smart Mirroring

Bitbucket Server

Bitbucket Server (formerly known asStash) is a combinationGitserver and web interface product written inJavaand built withApache Maven.It allows users to do basic Git operations (such asreviewingor merging code, similar toGitHub) while controlling read and write access to the code. It also provides integration with otherAtlassiantools.

Bitbucket Server is a commercial software product that can be licensed for running on-premises. Atlassian provides Bitbucket Server for free to open-source projects meeting certain criteria, and to organizations that are non-profit, non-government, non-academic, non-commercial, non-political, and secular. For academic and commercial customers, the full source code is available under a developer source license.

Conclusion

Bitbucket’s unique customizations and integrations make it easier and faster for you and your team to build better software. More than 9 Lakh teams and 50 Lakh developers around the globe are usingBitbuckettoday, therefore, you should too. Start coding like a professional usingBitbucketnow.

Topic Related Post
Mr.Vikas Sharma

Mr.Vikas Sharma

Principal Consultant

I am an Accredited ITIL, ITIL 4, ITIL 4 DITS, ITIL® 4 Strategic Leader, Certified SAFe Practice Consultant , SIAM Professional, PRINCE2 AGILE, Six Sigma Black Belt Trainer with more than 20 years of Industry experience. Working as SIAM consultant managing end-to-end accountability for the performance and delivery of IT services to the users and coordinating delivery, integration, and interoperability across multiple services and suppliers. Trained more than 10000+ participants under various ITSM, Agile & Project Management frameworks like ITIL, SAFe, SIAM, VeriSM, and PRINCE2, Scrum, DevOps, Cloud, etc.

Enjoyed this blog? Share this with someone who’d find this useful


Confused about our certifications?

Let Our Advisor Guide You

Already decided? Claim 20% discount from Author. Use Code REVIEW20.