Duration:
2 Days
Audience:
Employees of federal, state and local governments; and businesses working with the government. This BitBucket training course is intended for teams wanting to collaborate using BitBucket, and for developers wanting to improve their Git skills. The course content can be completed using a Mac, Linux, or Windows PC.
Course Description:
The days are gone when new feature requests are split up into tasks for each developer in a team to work on independently. Integration between each team member’s code only happens at the end of all the tasks, which often causes unexpected issues. During the last ten years, developers are increasingly being expected to collaborate on the design, build, and delivery of software products to provide value to users quicker with faster feedback to create a better product.
Atlassian Bitbucket makes it easy for teams to collaborate and reduce issues found during integration by providing a way to easily combine and test code frequently. Bitbucket gives teams easy access to tools needed in other parts of the feedback loop. From creating an issue to deploying on your hardware of choice. It gives you the basic tools to get started quickly and offers easy access to more advanced features, so you can upgrade when you need them.
This course is intended for teams wanting to collaborate with Bitbucket, whether you’re looking to store source code, deploy software, or anything in between. You’ll discover the most useful parts of Bitbucket and learn how to create and manage Git repositories.
Learning Objectives:
- Get Started with Bitbucket
- Work in Teams
- Create Documentation for a Project through a Wiki, README File and Bug Reports.
- Run Code Build Pipelines to Compile, Test and Deploy an Application
- Use the Command Line to Manage Git Repositories
- Use SourceTree to Manage Git Repositories Using a Graphical Interface
- Connect Bitbucket to Trello, Jira, Bamboo, Confluence, and Crucible
- Choose a Pricing Tier by Understanding Plans and Billing
Please note: This course is designed for those using Bitbucket Server. If you use Bitbucket Cloud, please contact your training advisor and they can direct you to the correct course.
Course Outline:
Part 1: Getting Started
- Getting Started With BitBucket
- Creating an Account
- Configuring Two-step Verification
- Creating a Repository
- Creating a Snippet
- Using the BitBucket User Interface
Exercise: Sign up for Bitbucket using the bitbucket.org website. Use the Bitbucket website browser file editor to create a repository and a README file. Create a snippet, make it public, and share it with the instructor.
Part 2: Working in Teams
- Configuring Your Account
- Setting Permissions
- Adding Notifications
- Configuring a Repository
- Choosing a Branching Model
- Choosing a Merging Strategy
- Protecting a Branch
- Assigning Permissions to Users
- Organizing Your Repositories Into Projects
- Creating a Project
- Assigning Repositories to a Project
- Reviewing Code
- Creating a Pull Request
- Viewing the Changed Files
- Adding a Comment
- Approving a Pull Request
- Merging a Pull Request
- Using Code Aware Search
Exercise: Create a repository and invite all other members of the class. Assign different permissions to each member. Group all the repositories made in the session together into a project. Each member of the class creates a README file that will be reviewed by another member of the class.
Part 3: Creating Documentation
- Raising an Issue
- Creating Different Types of Issues
- Assigning an Issue to a User
- Making a Wiki
- Creating the Wiki
- Adding a Page
- Editing a Page
- Cloning
Exercise: Create a wiki and add a page. Raise a bug and a task.
Part 4: Running Pipelines
- Using a Default Template
- Updating a Build Pipeline File
- Monitoring Deployments
- Building Pipeline Triggers
- Using SSH Keys
- Setting Up Notifications
- Building in Concurrency
Exercise: Create a build pipeline to compile and test a Node.js application.
Part 5: Using the Command Line to Manage Your Git Repository
- Install Git command-line application
- Mac
- Windows PC
- Linux PC
- Setting Up SSH Keys
- Mac
- Windows PC
- Linux PC
- Cloning a Repository Using HTTPS
- Cloning a Repository Using SSH
- Configuring Your Commit Username and Email
- Performing Common Git Actions
- Creating a Branch
- Creating a Patch
- Stashing Changes
- Rebasing
- Reverting a Commit
- Tagging a Commit
- Cherry Picking a Commit
Exercise: Install Git command line application with SSH keys to communicate with a repository. Clone a repository using SSH and HTTPS. Set a global Git commit username and email. Create a branch, commit, and push changes to the remote repository.
Part 6: Using SourceTree to Manage Your Git Repository
- Getting Started With Sourcetree
- Windows Installation
- Mac Installation
- Linux Installation
- Connecting Sourcetree With a Bitbucket repository
- Using Sourcetree to Manage a Git Repository
- Creating a Branch
- Creating a Patch
- Stashing Changes
- Rebasing
- Reverting a Commit
- Tagging a Commit
- Cherry Picking a Commit
Exercise: Install Sourcetree application, connect a Bitbucket account and set up SSH keys to communicating with a repository. Clone a repository using SSH. Set a global Git commit username and email. Create a branch, commit, and push changes to the remote repository.
Part 7: Connecting Bitbucket With Other Atlassian Services
- How to Connect BitBucket to:
- Bamboo, a fully-featured continuous integration / continuous deployment service
- Jira, an upgraded issue tracking solution and project management service
- Confluence, an easy to administrate wiki service
- Crucible, a tightly integrated code review service
- Trello, a minimalist project management tool
Exercise: Create a free account with all third party Atlassian services. Connect to each service using Bitbucket
Part 8: Plans and Billing
- What’s Included in the Free Plan
- Costs, Features, and Limits of the Standard Plan
- Costs, Features, and Limits of the Premium Plan