Bitbucket is Atlassian's Git-based source code repository hosting service. Bitbucket offers both commercial plans and free accounts with unlimited private repositories. Bitbucket Cloud (formerly Bitbucket) is written in Python using the Django web framework. Offers a very modest free cloud plan. Users are limited to 5, build time is 50 minutes per month, and storage is limited to 1 GB. We don't have a free self-hosted version, but we do offer a one-time payment plan of $10 for ten users (build time and storage space limited only by infrastructure).
The following are the main features of bitbucket.
CI/CD tool
Its function is to automate the code from test to production with Bitbucket Pipelines, and this CI/CD tool is also integrated with Bitbucket Cloud.
Cloud-security
It provides high security for all the data, and it uses Bolster 2FA with security key devices that use the FIDO U2F standard. All the repositories are encrypted at rest (AES-256) and in transit (TLS 1.2+), so It is always secure.
DevSecOps
Used Snyk integration to help, monitor and remediate security vulnerabilities in open-source dependencies and containers
Code Review
A code-first interface that helps users find bugs faster, collaborate easily, and merge confidently.
Branch permissions
Grant the right repository access to the right people on the team.
JIRA and Trello integration
BitBucket's integration with JIRA and Trello makes project management more effortless. It also supports Slack, Crucible, Bamboo, Jenkins, and HipChat integrations.
The following is an example of a bitbucket git pull and push request.
1. A developer repository in the bitbucket account:
Using create repository button in the bitbucket account.
Then it looks like this after the creation of repo.
There is also a button for creating a repository, as shown in the figure above.
2. Other developer needs to pull this repository for modifications:
Firstly needed to click the clone button, as shown in the figure below.
Then copy the corresponding code as shown in the figure below.
Then do the following commands in the local repository
git init
git pull (gitaddrs) (branch)
After the modification in the code, do the following commands to push the code.
git remote add project (gitaddrs)
git checkout -b (branch)
git commit -m "Message"
git push project (branch)
3. Then the rest of the teams can review and verify the modified code.