Git with Atlassian Bitbucket (server)

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.

Audience:

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

Prerequisites:

  • Access to laptop
  • Internet connection

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.

Course outline:

Module 1: Introduction 

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

Lab Exercises

  • Verify Git installation
  • Access Bitbucket

 

Module 2: Getting Started

  • 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 3: Introduction to Branches

  • 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 4: Working with Git

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 5: Communicating with Bitbucket

  • 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 6: Pull Requests

  • 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 7: Branching Strategies

  • 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 8: Merging

  • 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 9: Reading History

  • 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 10: Tagging and Releases

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

Lab Exercises

  • 1. Create a release branch
  • 2. Set a release
  • 3. Tag the release
  • 4. Integrate the release

Andre relevante kurs

1 dager
Classroom Virtual
1 dager
Classroom Virtual