Git With Atlassian Bitbucket

Git With Atlassian Bitbucket

  • 1 Day
  • Classroom, Webinar

Clearvision's Git With Atlassian Bitbucket training course provides an understanding of using Bitbucket with Git and focuses on giving a comprehensive overview of concepts, workflows and more.

About this Course

Is this course for you?

This course is aimed at developers adopting Git with Atlassian Bitbucket for the first time.

No previous experience is required.

Objectives & Outcomes

By attending this course users will understand and participate in the full lifecycle of a development process using Atlassian Bitbucket. You’ll learn to join and work on a project while collaborating with your colleagues to perform code reviews, pull requests and releases.

Throughout the course we’ll focus on understanding the underlying git architecture to prepare you for the challenges you’ll encounter along the way while also highlighting the differences between both the command line, or Atlassian Sourcetree as your choice of client.

Pre-Requisites

  • Access to laptop
  • Internet connection

Module Sections

  • Introduction to course
  • What is Version Control?
  • Introduction to Bitbucket
  • Introduction to Git

Lab Exercises

  • Verify Git installation
  • Access Bitbucket

Module Sections

  • Setting up your Git environment
  • Accessing Bitbucket
  • Bitbucket permissions
  • Joining a project

Lab Exercises

  • Join a Bitbucket project
  • Configure your Git environment
  • Ask Git for help

Module Sections

  • What is a branch?
  • Git references
  • Creating branches
  • Sharing branches
  • Switching branches

Lab Exercises

Basics

1. Identify branches

2. Create a branch

3. Switch to the branch

Advanced

1. Create a shared branch

2. Retrieve a shared branch

3. View references

Module Sections

Repository Design

  • Commit Objects
  • The Git Workflow
    • Staging Changes
    • Commit
    • Diffing
  • Hashes

Lab Exercises

Basics

1. Making changes

2. Viewing the status

3. Removing, renaming files

Advanced

1. Fixing mistakes

  • Amending commits
  • Correcting log messages
  • Reverting & Unstaging files

Module Sections

  • Remotes and the origin
  • Pushing your changes to Bitbucket
  • Fast forward merges
  • Getting the latest code

Lab Exercises

Basics

1. Push changes to Bitbucket

2. Fetching other peoples changes

3. View the changes in Bitbucket

Advanced

1. Retrieving shared work

Module Sections

  • Code reviews
  • Create a pull request
  • Assign pull requests
  • Collaborating on code reviews
  • Completing pull requests
  • Automatic merges

Lab Exercises

Basics

1. Create a pull request

2. Perform a pull request

3. Assign tasks to a pull request

4. Approve a pull request

Advanced

1. Update a pull request

2. Resolve a task

3. Perform a pull request merge

Module Sections

  • The Bitbucket branching model
  • The Gitflow workflow
  • Workflow variations
  • Forks
  • Automated merges

Lab Exercises

  • Create a fork
  • Clone a fork
  • Push back to the fork
  • Create a pull request from the fork to the parent

Module Sections

  • Performing complex merges
  • Merge conflicts
  • Rebasing
  • Merging from forks

Lab Exercises

Basics

1. Merging between branches

2. Resolving conflicts

Advanced

1. Rebasing

2. Squashing

Module Sections

  • The Git log
  • History through Bitbucket
  • Comparing versions
  • Blame

Lab Exercises

Basics

1. Create history

2. View history

3. Blame history

4. Interactive rebase

Advanced

1. Rewrite history

2. Use the Reflog

3. Recover lost commits

Module Sections

  • What are tags?
  • Creating tags
  • Pushing tags to Bitbucket
  • Deleting tags

Lab Exercises

Basics

1. Create a release branch

2. Set a release

3. Tag the release

4. Integrate the release

As a developer, I was concerned the git basics course would be too remedial. The instructor did a good job not only explaining the git commands, but also the underlying mechanisms that git uses and why it works that way. I learned a lot of the why, not only the how.

Anon, Northrop Grumman
Share on facebook
Share
Share on twitter
Share
Share on linkedin
Share

Related Courses

    Aaron Rowsell quote banner
    Aaron Rowsell quote mobile

    Looking for more information?

    To find out more about how you and your teams could benefit from Clearvision's Agile Training, talk to one of our friendly experienced representatives. Clearvision, enabling teams to reach their full potential.

    Platinum-Solution-Partner-Enterprise@2x1

    A Platinum Solution Partner since 2007, Clearvision became the first European Partner to be declared 'Enterprise Ready' by Atlassian in 2012. Our unrivalled industry expertise means the Clearvision team is ideally positioned to help you get the most value out of tools and teams.

    Download our training brochure